Trying to use Slack as a tool for the AI engine, party works

Hi i’m trying to use a tool in the AI Agent. I connected another flow that has 1 purpose, to check online presence of a user. I have 7 developers and it correctly fired 7 times the sub workflow. But instead of feeding it everytime with the next user Id its sending everytime the same user. I had to use the $fromAI since I didn’t found a way to drag the query into the target field. See picture for more details

Information on your n8n setup

  • n8n version: 1.74.1 (online)

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I still have the same issue, and really need some help.
Tried a lot of things and thought it would be easy to iterate through the list.
But am really stuck at the correct syntax

instance information

Debug info

core

  • n8nVersion: 1.76.1
  • platform: docker (cloud)
  • nodeJsVersion: 20.18.1
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: community
  • consumerId: 00000000-0000-0000-0000-000000000000

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/132.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-02-08T11:54:35.910Z

No one that can help me with this?

Hi @Rick_Hoebee,

Thanks for posting! It would be great if you can share the actual workflow JSON instead of screenshots!

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!


But from a quick look, I don’t think you can use the $fromAI tool in the workflow subnode.

The $fromAI() function is only available for app node tools connected to the Tools Agent. It isn’t possible to use the $fromAI() function with the Call n8n Workflow, Code, HTTP Request, or other cluster sub-nodes.

Could you try referencing it as siimply {{ $json.query.username }}?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.