Temporal Start icon

Temporal Start

Start a new Temporal workflow and wait for result

Temporal Start

AI-generated

Overview

This node starts a new Temporal workflow and waits for its result. It is useful for automating and orchestrating complex workflows by triggering them programmatically within an n8n workflow. For example, it can be used to initiate background jobs, data processing pipelines, or any task managed by Temporal workflows.

Use Case Examples

  1. Starting a data processing workflow with specific input arguments.
  2. Triggering a background job workflow and capturing its execution ID for tracking.

Properties

Name Meaning
Workflow Type Specifies the type of Temporal workflow to start.
Workflow ID Optional identifier for the workflow instance.
Task Queue The task queue where the workflow will be scheduled.
Arguments (JSON) Input arguments for the workflow, provided as a JSON array or object.

Output

JSON

  • workflowId - The ID of the started workflow instance.
  • runId - The unique run ID of the workflow execution.

Dependencies

  • Requires a Temporal API credential for authentication and connection to the Temporal service.

Troubleshooting

  • Invalid JSON format in the 'Arguments (JSON)' property will cause an error. Ensure the input is valid JSON.
  • If the Temporal API credentials are incorrect or missing, the node will fail to connect and start the workflow.
  • Providing an invalid or non-existent workflow type will result in an error from the Temporal service.

Links

Discussion