فارسی SourCherry
SourCherry Help Centre
HomeDeveloper Resources (4)

Workflow Trigger - Inbound Webhook

TABLE OF CONTENTS


Overview


The Inbound Webhook Trigger in SourCherry allows users to initiate workflows based on incoming data from external applications. By leveraging this trigger, you can seamlessly automate processes and integrate SourCherry with various third-party systems.




Trigger Name


Inbound Webhook Trigger



Trigger Description


The Inbound Webhook Trigger captures incoming POST/GET/PUT requests sent to a SourCherry Webhook URL (unique for each trigger). This enables the system to react to events from external applications, such as form submissions, payment notifications, or any other data changes, allowing for real-time updates and automation within SourCherry workflows.


How to Configure the Inbound Webhook Trigger


1. Access Workflow Settings:

  • Open or create a new workflow in SourCherry.
  • Select "Inbound Webhook" as the Workflow Trigger.

2. Generate Webhook URLA unique Webhook URL will be generated for your workflow. Copy this URL for use in external applications.

3. Set Up External ApplicationIn the external app (e.g., Zapier, Integromat), create a trigger that will send data to the SourCherry Webhook URL. Configure the action to send a POST request to the copied URL, including the necessary data in JSON format.

4. Test the IntegrationSend a test request from the external application to the SourCherry Webhook URL to ensure the integration is functioning correctly.

5. Map Incoming DataIn SourCherry, you can select and map the data received from the external application to relevant fields or variables within your workflow.

6. Save the TriggerOnce configured, click "Save Trigger" to finalize the setup.






Example


Scenario: Integrating a Payment Processor

1. Webhook URL: You create a workflow in SourCherry and generate a Webhook URL.

2. External Application Setup: In a payment processing application like Stripe, you set up a webhook that triggers when a payment is successful. You configure it to send a POST request to the SourCherry Webhook URL with payment details in JSON format.

3. Data Sent: The JSON payload might look like this

{
  "customer_id": "CUST_001",
  "amount": 100,
  "currency": "USD",
  "status": "successful"
}

4. Workflow Action: Upon receiving this data, the SourCherry 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.

This integration allows for real-time updates and automations, enhancing the efficiency of your SourCherry CRM processes.