You can use a webhook from a bot to post to any web service on the Internet. This is a powerful way to integrate your AppSheet app with a variety of popular services like Zapier, Slack, Twitter, Twilio, and IFTTT among others.

The web service must support a REST API. Your webhook can invoke any of the operations exposed via the web service's REST API.

A webhook is a means of invoking a "fire and forget" operation using the web service. A webhook cannot be used to retrieve and process data from a web service.

To use a webhook you need to do the following:

Setting up a developer account with a remote web service

Set up a developer account with a remote web service, such as Twilio. The web service will normally provide three pieces of information:

  • URL endpoint.

  • Authentication information. This may be a token or username/password.

  • REST API. This describes the JSON payload to be sent to the URL endpoint via an HTTP POST message to invoke a specific action.

Calling a webhook from a bot in AppSheet

Call a webhook from a bot in AppSheet, as described in Calling a webhook from a bot. When configuring the webhook, you provide the following information obtained when setting up your remote web service account:

  • URL of the remote web service. You can use expressions to dynamically construct the URL.

  • Authentication information, typically sent in the headers with the webhook.

  • JSON payload data, typically sent in the Body of the webhook. You can use expressions when constructing the body based on the input to the workflow rule.

If the web service you are connecting to restricts access by IP address, you will need to configure it to accept traffic from the IP addresses 104.40.67.206 and 138.91.195.239.

Did this answer your question?