Hello everyone,
My AI agent can successfully trigger the "callin.io Workflow Tool," but I'm encountering an error. The attached screenshots show an agent configured to generate an image. This functionality works when triggered via Telegram, but not when using the AI tool.
Here are my current settings:
- Input: The agent is set to utilize the tool.
- Tool: Source is set to "Database," and the correct workflow is selected.
- Trigger: Configured as "Executed by another Workflow" with "Accept all data" enabled.
- Naming: Both the request and nodes are named correctly.
- Version: I am using the cloud version.
Does anyone have any insights into what might be causing this issue? Any help would be greatly appreciated!
It's a good practice to define the input your sub-workflow will accept. Selecting “Accept all data” leaves it open to various structures, which can lead to errors.
Try configuring it like this:
AI Agent
Subworkflow
Notice how I've restricted the data type accepted by the sub-workflow.
Also, observe the $fromAI
function used within the tool.
If this response resolves your query, please consider marking it as a solution.
Hello,
I noticed you're not currently using an expression in that field, but rather fixed text.
To switch to using an expression, hover over the text field. You should see two small tabs appear:
- Fixed
- Expression
Click on "Expression" to enable it.
Could you please examine the execution that resulted in the error and pinpoint its location?
You'll need to navigate into the subworkflow and review its executions.
Thanks to your last message, I found and fixed the issue. Really appreciate it!
This discussion was automatically closed 7 days following the last response. New replies are no longer permitted.