ToolJet Workflows enable users to create complex, data-centric automations using a visual, node-based interface. They are designed to streamline repetitive tasks, organize multi-step operations, and make internal tools smarter and more efficient.
You can configure workflow timeout and memory limits using environment variables. Refer to this [guide](/docs/setup/env-vars#customizing-workflow-configuration) for more details.
This guide will walk you through creating your first workflow in ToolJet. You'll learn how to use the Workflow builder to create a simple automated process that fetches data from a database, filters it, and sends notifications based on certain conditions.
Next, you'll implement a loop to send SMS notifications to the filtered employees. The Loop node allows you to iterate through an array and perform an operation on each element.
- Create an outgoing node from the **filterEmployeeList** node, and select the **Loop** node. Rename it to *sendSMS*.
- Under Looped function, select **Twilio** as the data source. Configure the Operation as Send SMS, enter `{{value.number}}` in the To Number field.
- Under the Body field, enter the following message:
```js
Hey {{value.name}},
Here's the link with all the details for today's ToolJet
- Create an outgoing **Response** node from the green arrow to configure the response when the **If condition** node returns true.
Enter the following code to show the output as success when the SMS is successfully sent:
`return ({output: "success"})`
- Similarly, create an outgoing **Response** node from the red arrow to configure the response when the **If condition** node returns false. Enter the following code:
Click on the **Run** button on the top-right to execute the workflow. The logs panel will expand and provide an overview of all the nodes executed in this workflow.
Congratulations on creating your first workflow! This workflow fetches data, transforms the data, sends SMS notifications, and handles success or failure responses.
As you saw in this example, ToolJet Workflows provides a streamlined way to extend the capabilities of your ToolJet applications and automate complex processes.