Pular para o conteúdo principal
ExemploIntermediário1 min de leituraAtualizado em Apr 4, 2026
manualagentaimessagetool-call

Perguntar ao Agent

Workflow que envia uma mensagem para um agent de IA e retorna sua resposta

Baixar ZIP · 1.3 KB

JSON Completo

Clique para expandir
{
"description": "Workflow that sends a message to an AI agent and returns its response",
"tags": [
"manual",
"agent",
"ai",
"message",
"tool-call"
],
"document": {
"name": "Ask Agent",
"enabled": true,
"log_level": "debug",
"trigger": {
"type": "manual"
},
"workflowInput": [
{
"name": "message",
"description": "Message to send to the agent",
"schema": {
"type": "string",
"required": true
}
}
],
"steps": [
{
"condition": {
"expr": "true",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/ai/agent/send",
"actions/ai/agent/send": {
"agent_id": "<your-agent-id>",
"text": {
"expr": "message",
"onFailure": "throw",
"resultType": "any"
}
}
}
}
],
"returnExpression": {
"expr": "step(0).messages"
}
}
}
TipoWorkflow
Regras1
Canalany
Versão1.0.0
Baixar ZIP
agent-send1.3 KB
Nesta página