Setting Up Your First Webhook To Integrate With Third Party Apps
Alpha Insights allows third party integration through the use of webhooks.
A prime example of this would be to send your Alpha Insights data to an automation software such as Zapier or Integromat.
It’s important to note that this is data being sent FROM Alpha Insights TO another service.
Currently, our plugin is configured to export a summary of your chosen period (day, week, month) according to the schedule that you set.
If for example you chose to export to your webhook daily, Alpha Insights will generate the previous day’s data every day and post it out to your webhook.
Getting Started - An Overview Of The Webhook Settings
The first thing you need to do is go to the Alpha Insights Webhook Settings.
These can be found in Alpha Insights > Settings > Webhooks.
Webhook URL
This is the URL where your data will be posted.
This URL is provided by your third party app, this is where they are expecting to receive data.
Schedule Webhook Export
This is how often we will broadcast your data out to your selected webhook.
Daily
Your daily sales data will be generated for the previous day and then broadcast to the webhook URL every day.
Weekly
Your weekly sales data will be generated every Monday for the previous week and then broadcast to the webhook URL every Monday.
Monthly
Your daily sales data will be generated on the 1st of the month for the previous month and then broadcast to the webhook URL on the 1st of each month.
Send Webhook Now (Webhook testing)
This button will immediately broadcast your test data out to the webhook URL.
This is handy for getting your webhook setup as you can force data through whenever you like.
This button will ignore your schedule and collect data for the past 30 days. It is not a reflection of your schedul settings.
Webhook Output
The webhook output panel is an example of how your data will look when it is broadcast.
It is important to note that just for example’s sake we will collect data for the past 30 days, so that there is more likely data in this payload.
This is the data that will be sent when you use the test webhook button.
The data that is sent in your live schedule will be filtered according to your specified date schedule.
Live Example - Setting Up Webhooks With Integromat
We will walk through a live example of how to integrate with the popular automation software Integromat.
This will assist in understanding the flow for any webhook enabled software.