Connecting to Zapier
How to use Zapier for automation
Last updated
How to use Zapier for automation
Last updated
There is an official Zapier integration in the works. Please contact us to learn more and ask about early access.
This guide will help you create a test integration and learn how Zapier can be used to connect the platform. From there you can create more advanced automations such as creating content within the platform. When you’re done it will look like this:
The resulting message in your nominated Slack channel will look like this:
A Zapier account.
An Monterosa API key, for example JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
. If you don’t know how to get one, find out here.
Familiarisation with Control API basics.
Familiarisation with Zapier Webhooks.
Login to Zapier and create a new Zap
Choose Webhook as the Trigger
Select Retrieve Poll
as the first option
Within the Trigger’s URL, paste your Interaction Cloud instance name and follow the following format:
https://{instance}/api/v2/projects/{project_id}/events?filter[state]=current
The filter[state]=current will list only Events which are currently Live, meaning that a timed or manually controlled event will only be returned when it has started.
Enter data
in the Key field to denote the structure of the JSON
In the Headers add:
Authorization Bearer {your key}
and
Content-Type application/vnd.api+json
Follow the flow through, test your data. Make sure you have at least one Event live to ensure something is returned.
Add Slack as a next step
Associate your Slack account
Select the channel you want to alert
Craft the message you want to send using variables drawn from the data you just got back.
Continue to follow the Zapier instructions to test your data
When everything is working, you can Publish your Zap and leave it running live
Alerting new Events, not just those that are live (change the API filter type)
Alerting finished Events
If you are creating Events or Elements there are API limits but still be very careful not to spam the platform or you might have access revoked.
If you need further help on this topic please ask your account manager or raise a support ticket at support@monterosa.co
A paid Zapier plan will be required if you want frequent polling