# Recipe: Create a recurring workflow using Slack Workflow Builder

{% hint style="warning" %}
This integration is only compatible with the legacy version of Slack Workflow Builder (SWB). Starting in August 2023, Slack will begin migrating existing SWB workflows to [their new version](https://slack.com/help/articles/16787711643411-Migrating-legacy-workflows-to-the-new-version-of-Workflow-Builder).
{% endhint %}

{% hint style="info" %}
**Ingredients needed**:

* A use case for a recurring, scheduled workflow. For example:
  * Daily opening and closing tasks for office managers or retail workers
  * Weekly timesheet approvals
  * Monthly KPI/OKR updates
* Edit access for your Wrangle workflow
* Access to Slack Workflow Builder (by default, all members in a paid workspace have access)
  {% endhint %}

Let’s start with your Wrangle [intake form](/workflows/designing-a-workflow.md#designing-your-intake-form). We recommend having only one question in the form called “Date” and setting it as a short answer question, not a “Select a date” question. Your form should look something like this:

![](/files/R1vvGmtMstTwovtjhf6M)

The reason for only having a short-answer “Date” question is that unlike having a requester manually fill out an intake form for context, Slack Workflow Builder (SWB) will fill out your intake form programmatically.

The rest of your workflow can be customized to fit your needs with whatever approval and/or task list steps you’d like. Once you’ve saved your workflow in Wrangle, it’s time to finish building out your automation in Slack Workflow Builder.

In [Slack Workflow Builder](https://app.slack.com/workflow-builder/), click Create, then name your new workflow. Then, when prompted to choose how to start your workflow, select "Scheduled date & time."

![Choose "Scheduled date & time"](/files/h8TpX3qeW7KgQU4xPOmp)

\
Then, customize the start date, start time, and frequency of your recurring workflow:

![SWB has both preset and customizable frequency options.](/files/0SBF582gbifUMqGsUn62)

Save your scheduled date and time settings, then click "Add step." On the "Add a workflow step" modal, search for "Start a Wrangle Workflow" and click "Add."

![Choose "Start a Wrangle Workflow"](/files/iM2YCyq0A0e5pmLI2Bi2)

When setting up your Wrangle step, select a user who will be considered to be the person starting your workflow. This will be the "Created By" user in your [workflow dashboard](/workflows/monitoring-and-managing-a-workflow/workflow-dashboard.md). Then, choose your Wrangle Workflow, and use "Time when workflow started" as the variable for your "Date" intake form question.

![](/files/d5GutVDP2fBmIYtIa9G0)

Now you're ready to publish your new workflow!&#x20;

![The instance name will be populated with the workflow start time stamp we added as a variable in the "Date" form question.](/files/oT60AHmwFnWdq8K3ki17)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wrangle.io/best-practices/recipes/recipe-create-a-recurring-workflow-using-slack-workflow-builder.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
