Skip to main content
ExampleIntermediate1 min readUpdated Apr 4, 2026
manualassistantaimessagetool-call

Ask Assistant

Workflow that sends a message to an AI assistant and returns its response

Download ZIP · 1.3 KB

Full JSON

Click to expand
{
"description": "Workflow that sends a message to an AI assistant and returns its response",
"tags": [
"manual",
"assistant",
"ai",
"message",
"tool-call"
],
"document": {
"name": "Ask Assistant",
"enabled": true,
"log_level": "debug",
"trigger": {
"type": "manual"
},
"workflowInput": [
{
"name": "message",
"description": "Message to send to the assistant",
"schema": {
"type": "string",
"required": true
}
}
],
"steps": [
{
"condition": {
"expr": "true",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/ai/assistant/send",
"actions/ai/assistant/send": {
"assistant_id": "<your-assistant-id>",
"text": {
"expr": "message",
"onFailure": "throw",
"resultType": "any"
}
}
}
}
],
"returnExpression": {
"expr": "step(0).messages"
}
}
}
TypeWorkflow
Rules1
Channelany
Version1.0.0
Download ZIP
assistant-send1.3 KB
On this page