How to Link Zapier and InfinyOn Cloud
If you're using both Zapier and InfinyOn Cloud, integrating the two can supercharge your workflows. Zapier's automation prowess can link up with InfinyOn Cloud's robust data streaming, allowing you to move and transform data and trigger actions seamlessly between them. This can not only save you time but also unlock new possibilities for your real-time data.
To follow along in this guide you need:
- Access to Zapier Premium apps
- InfinyOn Cloud cluster
- Google Forms trigger to Zapier
- Google Sheets trigger to Zapier
Linking Zapier to InfinyOn Cloud
This section covers sending events from Zapier Zaps to InfinyOn Cloud Webhooks.
Pre-requisites
- An InfinyOn Cloud account
fluvio
CLI installed connected to Cloud account withfluvio cloud login
- A Zapier account with access to Zapier Webhooks
- A Zap trigger. This example will use new survey responses from Google Forms
On InfinyOn cloud cluster
First step is to create a webhook in Infinyon Cloud.
Copy the following example webhook config file and save as example-webhook.yaml
meta:
name: from-zapier
topic: zapier-events
# optional
webhook:
outputParts: body
outputType: json
Then run fluvio cloud webhook create
to create the webhook
$ fluvio cloud webhook create --config example-webhook.yaml
Webhook "zapier-events" created with url: https://infinyon.cloud/webhooks/v1/[random string]
We'll use the url for the next step in Zapier
In Zapier dashboard
- First thing is to create or modify an existing Zap. - We've created a new Zap that triggers whenever a new response to our Google Form survey arrives
- We won't cover the configuration of Google Form trigger further in this example
Configuring Webhooks step
- Add a step and choose the
Webhooks by Zapier
action
- Under App & Event, select a
POST
event and click continue
- Under Action, for the
URL
field, paste the URL for your InfinyOn Cloud webhook - Map the answers from survey with keys to form into json to InfinyOn Cloud and click the continue button
Test the Zapier to InfinyOn Cloud workflow
Test the event gets sent to InfinyOn Cloud In a terminal create a CLI consumer for the webhook's with the following command:
$ fluvio consume zapier-events
Consuming records from 'zapier-events'
In our example, we have two fields
Send a new Google Form response
Then click the Test Step/Retest button test triggering the event with our survey response from the previous step.
In our consumer terminal, we get this example output:
$ fluvio consume zapier-events
Consuming records from 'zapier-events'
{"name": "Stacey Fakename", "feedback": "Yes"}
Then you can click Publish to save this Zap. It is ready for production! It is ready to send data to InfinyOn Cloud.
The rest of this guide will cover data flow in the opposite direction.
Linking InfinyOn Cloud to Zapier
This covers triggering Zapier Zaps with InfinyOn Cloud's outbound HTTP Connector