Workflow Trigger - Inbound Webhook
Overview
The Inbound Webhook Trigger in Stack allows you to kickstart workflows using data from external applications. This feature enables seamless automation and integration with various third-party systems, enhancing your workflow capabilities.
Trigger Name
Inbound Webhook Trigger
Trigger Description
The Inbound Webhook Trigger captures incoming POST, GET, or PUT requests sent to a unique Stack Webhook URL. This functionality allows Stack to respond to events from external applications, such as form submissions or payment notifications, facilitating real-time updates and automation within your workflows.
How to Configure the Inbound Webhook Trigger
-
Access Workflow Settings:
- Open or create a new workflow in Stack.
- Select "Inbound Webhook" as the Workflow Trigger.
-
Generate Webhook URL:
- A unique Webhook URL will be generated for your workflow. Copy this URL to use in external applications.
-
Set Up External Application:
- In your external app (e.g., Zapier, Integromat), create a trigger that sends data to the Stack Webhook URL.
- Configure the action to send a POST request to the copied URL, including necessary data in JSON format.
-
Test the Integration:
- Send a test request from the external application to the Stack Webhook URL to ensure the integration is functioning correctly.
-
Map Incoming Data:
- Within Stack, select and map the data received from the external application to relevant fields or variables in your workflow.
-
Save the Trigger:
- Once configured, click "Save Trigger" to finalize the setup.
Example
Scenario: Integrating a Payment Processor
-
Webhook URL:
- Create a workflow in Stack and generate a Webhook URL.
-
External Application Setup:
- In a payment processing application like Stripe, set up a webhook that triggers when a payment is successful. Configure it to send a POST request to the Stack Webhook URL with payment details in JSON format.
-
Data Sent:
- The JSON payload might look like this:
{
"customer_id": "CUST_001",
"amount": 100,
"currency": "USD",
"status": "successful"
}
- The JSON payload might look like this:
-
Workflow Action:
- Upon receiving this data, the Stack workflow can be set to:
- Update the lead's status to "Paid."
- Send a confirmation email to the customer.
- Trigger additional follow-up actions based on the payment status.
- Upon receiving this data, the Stack workflow can be set to:
This integration supports real-time updates and automations, boosting the efficiency of your Stack CRM processes.