Blocks
Agent Message
Send messages between agents
Enables direct communication between agents in a workflow. Supports request-response patterns, broadcasts, and async messaging.
Block Preview
Agent Message
Send messages between agents
Usage
- Add the block to your workflow and connect it to the upstream step.
- Configure any required credentials or tokens in the inputs.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the agent_message block with monitoring enabled in production.
Inputs (UI)
Message Type
dropdownLayout: half
Options: Request, Response, Broadcast, Event
Target Agent
short-inputPlaceholder: Agent name or ID
Layout: half
Condition: messageType = ["request","response"]
Channel
short-inputPlaceholder: Broadcast channel name
Layout: half
Condition: messageType = ["broadcast","event"]
Message Content
long-inputPlaceholder: Message content or JSON data...
Layout: full
Content Type
dropdownLayout: half
Options: Text, JSON, Task, Result
Priority
dropdownLayout: half
Options: Low, Normal, High, Urgent
Wait for Response
switchBlock execution until response received
Layout: half
Condition: messageType = "request"
Timeout (seconds)
short-inputPlaceholder: 30
Layout: half
Condition: waitForResponse = true
Metadata
codeAdditional metadata to include with the message
Placeholder: { "correlationId": "...", "tags": [] }
Layout: full
Inputs (API)
messageType
stringRequired
targetAgent
stringOptional
channel
stringOptional
content
stringRequired
contentType
stringOptional
priority
stringOptional
waitForResponse
booleanOptional
timeout
numberOptional
metadata
jsonOptional
Outputs
Primary response type:
{
"messageId": "string",
"status": "string",
"response": "json",
"sentAt": "string",
"deliveredAt": "string",
"responseReceivedAt": "string"
}