JSON Objects as Inputs to Workflows #8903
quintenrosseel
started this conversation in
Suggestion
Replies: 1 comment 1 reply
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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