What are Webhooks?
Webhooks are just a way of describing the use of third-party APIs to pull data or content into a site, without changing the overall structure or code.
They can be triggered by different events in a site. When triggered, the webhook makes a request to the API it needs to pull data from. Typically, there are criteria or parameters included in that request that a user enters, much like when you search for something on Google.
The API then passes those parameters to a server where they are processed and sent back with response data. This back and forth allows a service to pull in data and content from any third party service back to where a user made the initial trigger.
How does Instabot use Webhooks?
The Instabot platform offers the ability to leverage webhooks in your bot. This allows you to configure webhooks for any API you have access to and pull outside data into your bots! Your bots won't have to know the answers to questions before a user even asks - you can simply pass their questions or responses to the 3rd party API via webhooks!
Still not sure? Try it out for yourself here!