API: Send Data & Trigger Actions through Zapier

Send data from Kiosk Pro to another web app using Zapier. Zapier is a third-party service that connects hundreds of popular web apps, including Google Sheets, MailChimp and Salesforce, among others.

Kiosk Pro communicates with Zapier using a webhook - a URL published from within your Zapier account. Once the webhook is published, it can be referenced inside the JavaScript API call to Zapier along with a set of key:value pairs defining the data you’d like to send. Inside Zapier, calls to the webhook act as a trigger, which can be used to start an action in another app.

If the device is offline and unable to contact Zapier's servers, Kiosk Pro will store calls locally and send them when the device is reconnected to the internet.


Kiosk Pro Enterprise

  • Integration of our JavaScript API into your webpage
    • Sample code to run within the app and download for integration into your own project is available here.
    • Best practices for working with the JavaScript API are available here.
  • App Settings
    • Content > JavaScript API > Access JavaScript API = By Import
  • Zapier Account
    • Webhooks require a paid Zapier plan

Triggers via API Functions

Send Data to Zapier

This function sends a trigger to a Zapier webhook URL, passing data specified in the call.

kp_Zapier_sendNotificationToZap(URL, data, callback);
  • URL - [string] URL of Zapier webhook, created within your Zapier account, required.
  • data - [string] array of key:value pairs in the format {"key1":"value1","key2":"value2"..."keyN":"valueN"}
  • callback - [string] name of callback function to be called, optional.
Callback format
Callback return values success - if defined, the function was formatted correctly and sent to Zapier.  Since Zapier is a high-volume server endpoint, they always return a success message when collecting webhooks, regardless of if there is a zap behind the webhook or if it is paused or not.

Sample Code

  • This sample code relies on the JavaScript APIs built into Kiosk Pro and will not run successfully in other browsers or within our in-app help interface.
  • To run sample code, set the app's homepage to https://kioskgroup.com/zapier-api
  • To download a .zip of sample code, click here.

Change Log

  • Added in version 7.7.

Still stuck? How can we help? How can we help?