Temporal
AI-generatedOverview
This node connects to a Temporal server and starts a workflow based on user-defined parameters. It is useful for automating and orchestrating complex workflows in distributed systems by triggering Temporal workflows with specific arguments. For example, it can start a data processing workflow or a business process workflow on a Temporal server.
Use Case Examples
- Starting a workflow to process user data with specific input parameters.
- Triggering a scheduled workflow for batch job execution.
Properties
| Name | Meaning |
|---|---|
| Server Address | Host and port of the Temporal server to connect to. |
| Namespace | Temporal namespace to use for the workflow execution. |
| Workflow Type | Name of the workflow to start on the Temporal server. |
| Workflow ID | Optional unique identifier for the workflow instance. |
| Task Queue | Optional task queue name for the workflow execution. |
| Arguments (JSON) | Arguments to pass to the workflow, can be an array or object, provided as JSON. |
Output
JSON
workflowId- The unique workflow ID used for the started workflow.runId- The run ID of the first execution of the started workflow.
Dependencies
- Requires connection to a Temporal server, typically authenticated via credentials configured in the node (e.g., API key or token).
Troubleshooting
- Invalid JSON format in the 'Arguments (JSON)' property will cause an error; ensure the JSON is correctly formatted.
- If the Temporal server address or namespace is incorrect, the node will fail to connect.
- Missing or incorrect workflow type will prevent the workflow from starting.
- Errors from the Temporal client are wrapped and thrown as node operation errors, check the error message for details.