Skip to content

Project workflows

Project workflows allow you to create reusable workflows that can be triggered from within any other workflow in your application. When adding an action to any workflow, you can find all project workflows in a dedicated "Project workflows" section of the action menu.

This feature is useful for:

  • Creating reusable workflow logic across different parts of your application
  • Breaking down complex workflows into smaller, manageable pieces
  • Keeping your workflows organized and maintainable

By breaking down complex logic into reusable project workflows, you can build powerful, scalable features that can be easily reused across your application.

How to Use

Creating a Project Workflow

First, create a reusable project workflow:

  1. Go to the Logic tab in the left panel
  2. Click + New to create a new global workflow
  3. Give your workflow a name
  4. Set up the workflow with the actions you want to make reusable
  5. Add parameters if needed (optional)

An example on how to create global workflows

For example, to create a project workflow that logs a message to the console:

  1. Add a Log action
  2. Access the Events tab to retrieve your defined workflow parameters

Global workflow body

Executing a Project Workflow

When you want to use your global workflow within another workflow:

  1. In your local workflow, add a new action
  2. Look for the Project workflows section in the action list
  3. Select the project workflow you want to execute from the list
Project workflows section
  1. Provide any required parameters for the selected workflow

The Execute Workflow action being used to execute the global workflow from within the local workflow

When your local workflow runs, it will execute the project workflow as part of its sequence:

The results of the triggered global workflow being displayed in the Logs tab

TIP

Use project workflows whenever you find yourself repeating the same series of actions in different places, or when a workflow becomes too complex to manage. This approach helps keep your application maintainable and reduces duplication.