Temporal Signal icon

Temporal Signal

Send signal to a running Temporal workflow

Temporal Signal

AI-generated

Overview

This node sends a signal to a running Temporal workflow. It is useful for interacting with workflows in real-time by sending them specific signals with associated data, allowing dynamic control or updates during workflow execution. For example, it can be used to notify a workflow of an external event or to update workflow state based on external input.

Use Case Examples

  1. Sending a 'pause' signal to a workflow to temporarily halt its execution.
  2. Sending a 'updateData' signal with JSON data to modify workflow parameters on the fly.

Properties

Name Meaning
Workflow ID The unique identifier of the Temporal workflow to which the signal will be sent.
Signal Name The name of the signal to send to the workflow, indicating the type of event or command.
Number Data The JSON data payload to send along with the signal, providing additional information or parameters.

Output

JSON

  • message - Confirmation message indicating the signal name and the workflow ID to which the signal was sent.

Dependencies

  • Temporal API client accessed via provided API credentials

Troubleshooting

  • Ensure the provided Workflow ID corresponds to an active running workflow; otherwise, the signal cannot be delivered.
  • Verify that the Signal Name matches one expected by the workflow to avoid ignored or unhandled signals.
  • Check that the API credentials for Temporal are valid and have sufficient permissions to send signals.
  • If the signalData JSON is malformed, the node may fail to send the signal properly.

Links

Discussion