How to Integrate Webhooks with Blitzen
This article will show you how to push Blitzen form data to externals apps using Webhooks. The first part of this integration takes a fair bit of developer expertise and so we do not recommend it for beginners.
How it's done
STEP 1: Create an endpoint
An endpoint is a URL where Blitzen will send your data. Depending on which app you want to use this process will vary. GitHub has a fantastic guide to creating one here. Check out the decision.io Webhook for an example.
Once you've done this you will have a URL that looks like so:
https://ol.decision.io/API/items/import/blitzen/single/3
STEP 2: Create a workflow in Blitzen
Navigate to the ‘Workflows’ section in the left-side panel.
Click ‘Create new workflow’ and give it a catchy name.
At the top of the right panel, select an input. This must be the form whose data you wish to push to the Webhook.
STEP 3: Configure
Drag the webhook app into your workflow and click the '+' to configure.
A text-box will pop up where you can paste the endpoint URL you generated in step 1.
STEP 5: Choose the content type
Webhooks can be delivered using different content types:
- The
application/json
will post the data within the body of the request. - The
application/x-www-form-urlencoded
will append all the data to the URL.
Choose the one that applies to you.
STEP 6: Sync data
Changes will save automatically. Now any new submission from this form should go directly into your app.
To sync older submissions click ‘Sync Data’ in the top right corner of the page.
Well done!