> For the complete documentation index, see [llms.txt](https://imbrace.gitbook.io/imbrace-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://imbrace.gitbook.io/imbrace-documentation/onboarding-guide/set-up-workflows.md).

# Set Up Workflows

### Channel Workflow

#### How to create Channel Workflows?

**Step 1:** Click on the Channels tab in the left navigation sidebar and select the channel (Facebook, WhatsApp, WeChat, Line, Web Widget) that you want to set up a workflow for. Alternatively, you can click on the Workflows tab and navigate to the channel that you want to set up a workflow for under the Channel Workflow section.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2Fzf6j6WmRAUutLHULK6X5%2Fimage.png?alt=media&amp;token=564d4c3b-ae32-48f6-9553-3815b25961fe" alt=""><figcaption></figcaption></figure>

**Step 2:** Click on the workflow icon to access the workflow.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FzXaNQFiWM6c4y6lCzI5g%2Fimage.png?alt=media&amp;token=dfdb3889-053c-465c-ab76-b62b92fc67bd" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Do note that you have to set up the Channels by clicking Add New before accessing the specified channel workflow. Visit Channels section to learn how to set up channels.&#x20;
{% endhint %}

**Step 3:** Click the add icon "➕" located next to the workflow starter and at the bottom right corner of the screen which opens up the connector menu for users to add connectors. Double-click on each connector to view and input the necessary requirements.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FalKe0XZ7Tz7yptgeBb1a%2Fimage.png?alt=media&amp;token=8b60354e-f1ec-44ee-9c08-2a076fa930c3" alt=""><figcaption></figcaption></figure>

* There are different types of connectors which are ACTIONS, CHANNEL ACTIONS, INTEGRATIONS, FUNCTIONS and LOGICS.
* **Actions:** Actions connectors represent specific tasks or operations in a workflow. They do specific tasks or operations, like moving information around and doing things in other systems.
* **Channel Actions:** Channel action connectors make it easy to connect and interact with communication tools like Slack or Microsoft Teams. They help you manage messages and other communication features in these platforms.
* **Integrations:** Integration connectors are pre-built connections to external services. They make it easy to link up and work with different services by handling all the setup and login stuff for you.
* **Functions:** Function connectors are custom code/scripts in a workflow. They act as connectors to perform specific calculations, data transformations, or custom logic using JavaScript.
* **Logics:** Logic connectors control the flow of the workflow based on conditions. They include elements like IF conditions, switches, and loops, serving as connectors to enable dynamic workflows with decision-making capabilities.

**Step 4:** Click the "**SAVE**" button located at the top right corner of the screen to save your workflow.

{% hint style="info" %}
**Channel Workflows will be activated when saved.**
{% endhint %}

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FgATTVbpNLpIWkjW67WVy%2Fimage.png?alt=media&amp;token=0a047b10-6140-4fe4-9aa2-e6d12ba5f694" alt=""><figcaption></figcaption></figure>

### General Automation

#### How to create Channel Workflows?

**Step 1:** Click on the Workflows tab in the left navigation sidebar and click on CREATE NEW to create a new workflow.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FcQ8YwQBVkmKNvYSGshz1%2Fimage.png?alt=media&amp;token=e8d70214-a260-4a8e-bfb6-a28c418c3a5a" alt=""><figcaption></figcaption></figure>

**Step 2:** Click the add icon "➕" located at the bottom right corner of the screen to add connectors. Double-click on each connector to view and input the necessary requirements

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FOefLZed7Ysn7zEuvejx7%2Fimage.png?alt=media&amp;token=73878b89-3aff-4a55-ad61-c6a87cd4ae43" alt=""><figcaption></figcaption></figure>

**Step 3:** Click the "**SAVE**" button located at the top right corner of the screen to save your progress and Turn on the "**Active**" setting to ensure that your workflow is active and functioning as intended for General Automation.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2Fy11vuQ78s6uew58qM4vp%2Fimage.png?alt=media&amp;token=037b5f49-06d4-4928-afe4-e77c68ce356c" alt=""><figcaption></figcaption></figure>

### Board Automation

#### How to create Board Automation?

**Board Automation** will be triggered when a record is created on the **Data Board**, when a record is deleted and when selected fields are updated.

**Step 1:** Click on the button **CREATE New** to create a new **Board Automation**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FruKQI1sR6JWH48R4Aveh%2Fimage.png?alt=media&amp;token=568d0604-b314-4eb9-8a5c-872f0be1ce94" alt=""><figcaption></figcaption></figure>

**Step 2:** Input the name of the Board Automation workflow and the default connector which is Webhook connector can be seen from the editor UI.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FFDCj6WjhA00ODZFFQSsH%2Fimage.png?alt=media&amp;token=397e8a6c-43e2-4bb0-8f98-cfcc7be90f31" alt=""><figcaption></figcaption></figure>

* **Webhook** connector as a trigger for a workflow when you want to receive data and run a workflow based on the data. The Webhook node also supports.
* The functions for **Automate Data Board** connector are as follows: **Create Record**, **Update Record**, **Delete Record**, **Clear Fields**, **Get All Records**, and **Get Single Record**.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F293yWcFyphXJsoLfhaRW%2Fimage.png?alt=media&amp;token=59b1be79-6a8d-428e-a1c3-684642dc8446" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on the **Data Boards** tab in the left sidebar navigation menu and select a board.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FjwPjxK0uQG0j3RylMJiV%2Fimage.png?alt=media&amp;token=ccc08132-e9cc-4252-bf66-54108226312a" alt=""><figcaption></figcaption></figure>

**Step 4:** On the selection board, Click on Automation.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F1uzBhLUESABc78hr0qFE%2Fimage.png?alt=media&amp;token=2c013237-220b-4980-9041-d22c0fb4ef29" alt=""><figcaption></figcaption></figure>

**Step 5:** Click on New Board Automation.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FOFwrm5rCEsLdIJwhs2lE%2Fimage.png?alt=media&amp;token=3800c64b-27d5-42b9-8efd-7cd50166bb66" alt=""><figcaption></figcaption></figure>

**Step 6:** Input your desired Automation Name, Automation Description, select a Triggered Condition and Triggered Workflow and click on CREATE to create the Board Automation.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FQsSchtmP4SEEKIDCH1VG%2Fimage.png?alt=media&amp;token=37eb9e39-d877-45fb-81b8-8ab7d55429a6" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Triggered Workflow Preview can be seen and edited.**
{% endhint %}

**Step 7:** On the Data Boards tab, create a New Record.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FT1kntwOSc41vXGJORkMj%2Fimage.png?alt=media&amp;token=eb68f6ba-bb8b-4d80-b093-44946cc91dfa" alt=""><figcaption></figcaption></figure>

**Step 8:** Refresh the page and a new record (JS) will be created based on the workflow as the workflow is triggered when a new record is created.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FXkarudMqjzkZ9jeOMXc7%2Fimage.png?alt=media&amp;token=30207a34-3564-4e70-8be6-4f53d9c1fc33" alt=""><figcaption></figcaption></figure>
