> For the complete documentation index, see [llms.txt](https://docs.bizmagnets.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bizmagnets.ai/integration/additional-integrations/generic-webhooks/generic-webhook-workflows.md).

# Generic Webhook Workflows

The workflows of Generic Webhook allows you to define specific conditions and actions that control how your BizMagnets Account sends messages based on webhook responses.

## **Creating a New Workflow**

Follow the simple steps listed below to create a new Generic Webhook Workflow with BizMagnets:

1. Navigate to **Integration** on your BizMagnets dashboard. Click on the integrated Generic Webhook application and select **Workflow**.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2F6AmAm6SKWQAbpwLw3LoT%2Fimage.png?alt=media&amp;token=c3dd8e16-26b5-4a26-95d0-037c7d630073" alt=""><figcaption></figcaption></figure>

2. Click **Create New Workflow**. The workflow page will open.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2F8AaCDSEdSP8mFYvyFwrM%2FScreenshot%202025-09-24%20181631.png?alt=media&amp;token=055519d1-926c-4a13-976d-1366fc827a9f" alt=""><figcaption></figcaption></figure>

3. Enter the **Workflow Name**. This name helps identify the specific workflow for managing and automating WhatsApp messages.
4. **Conditions** are optional, and you can add up to a maximum of three conditions. Workflows allow you to define conditions that trigger specific actions. The conditions are set based on data received from the webhook response.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FWMIQmL88XEpduabhDuVH%2FScreenshot%202025-02-04%20161757.png?alt=media&amp;token=7ca7b9db-54b4-4aea-8450-b2c00b2f5dda" alt=""><figcaption></figcaption></figure>

* **MATCHES**: This dropdown allows you to choose how the conditions should be matched.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FgzTD3MBk4sWfpagjpXpK%2FScreenshot%202025-01-28%20175352.png?alt=media&amp;token=a17969ef-5a2b-4555-8d70-7ddfadf89aa1" alt=""><figcaption></figcaption></figure>

* **Comparator**: You can match it against specific values or fields in the incoming data.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FAztzCKfhuUONIzsUc5tb%2FScreenshot%202025-01-28%20175527.png?alt=media&amp;token=e9be951d-d406-4a2f-b8a0-f442f2620775" alt=""><figcaption></figcaption></figure>

* **Operator**: If this condition is met, it will trigger the next defined action.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FW5mBh02khfdi08evdevM%2FScreenshot%202025-01-28%20175613.png?alt=media&amp;token=b1cd3bde-63aa-4b0c-ab15-86766fec2046" alt=""><figcaption></figcaption></figure>

You can add additional conditions to further refine the trigger logic for the workflow. For example, you may want to check multiple parameters (e.g., phone and email) before sending a message.

5. After setting the conditions, you can specify which message template should be sent when the conditions are met.&#x20;

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FeTStWeqpsZNGZWrlv6k4%2FScreenshot%202025-01-28%20175725.png?alt=media&amp;token=dcc77fff-5078-43f1-be01-f099a85686fa" alt=""><figcaption></figcaption></figure>

6. **Actions** are tasks that occur after the conditions are met. You can also add other actions as needed (such as updating a database, triggering other workflows, etc.).

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2FjSCqBj4OVarZ0jxRIG0O%2FScreenshot%202025-01-28%20175835.png?alt=media&amp;token=0c490461-996f-4f7d-bc10-8c5c22dd6a72" alt=""><figcaption></figcaption></figure>

## **How It Works**

* Webhook Workflows automate the process of sending messages via WhatsApp based on specific conditions tied to incoming data from a webhook.
* For instance, if a phone number is missing, message will be sent to the recipient.
* This setup is useful for automating customer interactions, like sending exam details, reminders, or confirmations, based on dynamic user data received via webhooks.

## **Why It's Useful**

* It allows for automated, customized responses based on real-time data.
* It integrates seamlessly with external systems or applications that send webhook data, enabling efficient and dynamic message delivery through WhatsApp.
* With conditions, you can fine-tune when and how messages are sent, ensuring better customer interaction and engagement.

This functionality is a powerful tool for automating business workflows and ensuring that WhatsApp messages are sent to the right users at the right time based on specific criteria.
