Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bulk workflow execution

Run another workflow against stored records of a selected type

The Bulk Workflow Execution step starts another workflow using a record type you select. Use it when a process needs to operate on a collection of records.

Configure the step

  1. Add a Bulk Workflow Execution step to your workflow.

  2. Select the workflow you want to run.

  3. Select the synced record type that workflow should operate on.

Select the workflow and data Middle should bulk execute on

Use with a scheduled trigger

Combine this step with a scheduled trigger to process stored records at a specified time.

For example, a scheduled workflow could start a bulk execution of a second workflow that checks member records and sends qualifying members to another system.

The scheduled workflow starts without record inputs. The workflow called by the bulk step should be configured to receive the selected record type in its Begin Step.

Pass a single record to another workflow

Use the Primary Key Filter to run another workflow for a single stored record. This lets you reuse a workflow for one member, sale, or other record selected by its primary ID.

  1. Configure the receiving workflow's Begin Step to accept the record type you want to pass, and publish a live version of that workflow.

  2. In the calling workflow, add a Bulk Workflow Execution step. Select the Workflow to execute, App connection, and Resource containing the record.

  3. Set Primary Key Filter to an array containing just that record's primary ID. You can use a fixed ID or build a one-item array from a workflow variable, such as the triggering record's or related record's primary ID.

  4. Leave Input record and Input record ID blank in the step's Input configuration. Middle populates them automatically. Map any additional inputs the receiving workflow needs separately.

Middle runs the selected workflow for the matching stored member in that connection and resource. If no record matches the ID, no workflow execution is created for it. Leaving the PK filter unset does not restrict the selection to one record.

TriggersBeginDecision

Last updated

Was this helpful?