FeatureFuel
1

Workflow action to run another workflow (RUN_WORKFLOW)

Source: twentyhq/twenty#25896 · opened by @abhinavapasok
Scope & Context Workflows cannot call other workflows. Every workflow is a self-contained graph, so shared logic (notify the owner, post to Slack, enrich a company, log an activity) has to be rebuilt step by step in each workflow that needs it, and kept in sync by hand when it changes. This ticket proposes a RUN_WORKFLOW action that starts a run of another workflow, in fire-and-forget mode only. Waiting for the child run and reading its result back is deliberately out of scope (see "Not in this change"). Current behavior There are 20 action types in WorkflowActionType (packages/twenty-shared/src/workflow/types/WorkflowActionType.ts); none starts another workflow. The closest workarounds are: • Duplicate the shared steps into every workflow (the current default). • HTTP_REQUEST to the workspace's own webhook trigger URL. This works but requires the callee to expose a webhook trigger (a public, unauthenticated URL), and pays an HTTP round trip throug…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests