JSON Objects as Inputs to Workflows #8903
quintenrosseel
started this conversation in
Suggestion
Replies: 2 comments 2 replies
-
For now, please use paragraph and pass the JSON as string. You can parse the JSON with a code block. |
Beta Was this translation helpful? Give feedback.
2 replies
-
We will support this capability soon. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I'm trying to use my Dify workflow as a tool call, from another service. (e.g. VAPI.ai).
However, the Start block of Dify doesn't allow me to select a JSON
Object
as an input type.Is there a way so that I can call my Dify workflow with a JSON object as input? Other blocks clearly allow this as IO, so I'm wondering why I cannot use this.
So, a POST request to
https://api.dify.ai/v1/workflows/run
with the following body:And being able to parse that body as part of the workflow.
The issue is that I cannot select a
Object
as input type.2. Additional context or comments
No response
3. Can you help us with this feature?
Beta Was this translation helpful? Give feedback.
All reactions