You can use a workflow rule with a webhook action 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 that REST API to perform 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 must set up a developer account with the web service and create a webhook workflow rule in Appsheet.
Set up a Developer Account with the Remote Web Service
Set up a developer account with the remote web service, such as Twilio. The web service will normally provide three pieces of information.
- A URL endpoint.
- Authentication information. This may be a token or username/password.
- A REST API. This describes the JSON payload to be sent to the URL endpoint via an HTTP POST message to invoke a specific action.
Create a Webhook Workflow Rule in Appsheet
Create a workflow rule in your AppSheet app. Choose a webhook action for the rule.
Configure the webhook action using the information received from the remote web service.
- Enter the URL of the remote web service. You can use expressions to dynamically construct the URL.
- The authentication information is typically sent in the Headers of the webhook.
- The JSON payload data is 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 18.104.22.168 and 22.214.171.124