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.
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.
In this article
- Sample code to run within the app and download for integration into your own project is available here.
- App Settings
- 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);
|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.|
- To run sample code, set the app's homepage to https://kioskgroup.com/zapier-api
- To download a .zip of sample code, click here.
- Added in version 7.7.