Using an Infoplus Script to Create a Webhook
Connect Infoplus to an external system by using a script to create a webhook.
There may be instances where your business needs to send information from Infoplus to an external system on a scheduled basis or triggered by an event (ie changes in quantities, status etc). InfoPlus scripts and utilities can help automate sending that information!
While webhooks are technically not a native feature in InfoPlus, we do offer a built-in httpRequest script utility method that can be used to issue certain GET, POST, PUT or DELETE calls to external systems/APIs. Because scripts can run via a trigger or can be set to run on a scheduled plan, any script that makes httpRequests can be automated to act like a webhook.
For more Information on using the httpRequest scripting utility method please see the "Utils" > "httpResponseObject httpRequest" section of the Introduction to InfoPlus Scripts article.
Related Articles
- Create / Manage Triggers
- Overview of triggers that would be used to run the script.
- Create / Manage Scheduled Plans
- Overview of scheduled plans that can be used to run scripts, fulfillment and more.
- Introduction to Infoplus Scripts
- Midway down it has details on utils and httpRequest
- Using a Script to pull in Customer Tags from Shopify
- This is just an example of a Script using httpRequest
- This is just an example of a Script using httpRequest
