How to pass the information input by the user during interaction with the intelligent agent to the input parameters of the referenced workflow tool #31540
Replies: 11 comments 8 replies
-
|
Hi @James-Bond123! I'm Dosu and I’m helping the dify team. To pass user input from an agent to the input parameters of a referenced workflow tool in Dify 1.7.2, follow these steps:
Known limitations in 1.7.2:
Best practices:
If you need a code or UI example, let me know your exact workflow and agent setup and I can provide a more tailored walkthrough. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
To pass user input from an agent to the input parameters of a referenced workflow tool in Dify:
Example minimal flow: graph LR
A["User Input (via Agent)"] --> B["Agent Node"]
B --> C["Workflow Tool"]
C --> D["Workflow Start Node (inputs)"]
Troubleshooting tips:
If you need a concrete YAML or UI mapping example, let me know your parameter names and types and I can provide a snippet. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Is the operation of mapping user input information to the workflow start node variable completed on the parameter page or the settings page? |
Beta Was this translation helpful? Give feedback.
-
|
I should fill in or bind the required input fields (like " URL "on the settings tab to the appropriate agent/user input variable. What should I fill in for this agent/user input variable?Is it {{query}}? |
Beta Was this translation helpful? Give feedback.
-
|
The selector in my settings tab does not display the available variables that can be imported, only allowing manual input. Is this a problem? |
Beta Was this translation helpful? Give feedback.
-
|
So should I update the version to better map user input variables to the workflow start node? |
Beta Was this translation helpful? Give feedback.
-
|
I don't know how to upgrade the version. I am dify deployed on Docker under Windows system. Can you tell me the specific operation process for upgrading the version? |
Beta Was this translation helpful? Give feedback.
-
|
The update is a bit complicated, and I don't have any data to save on dify right now. I plan to deploy a new dify directly. How should I proceed? Do I need to delete the current version of dify first? |
Beta Was this translation helpful? Give feedback.
-
|
Does the latest version of dify fail to parse the HTTP request body of imported OpenAPI specifications when creating custom tools? I didn't see any parameter configuration in the request body when the input on the front-end changed? |
Beta Was this translation helpful? Give feedback.
-
|
Does dify support parsing requestBody with content type text/plain in custom tools? |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Dify version
1.7.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
How to configure the input nodes that pass user input information into the workflow when publishing the workflow as a tool and referencing it in the agent?
✔️ Expected Behavior
Please give me an answer
❌ Actual Behavior
No response
Beta Was this translation helpful? Give feedback.
All reactions