Hey Everyone!
I am currently having trouble with a JSON Module and mapping its response to a HTTP Request.
Before the JSON module, I have a GPT completion to give me both a startTime and endTime in JSON format. Which will then go into the JSON string.
However I need the JSON’s module to give me two responses, startTime and endTime.
Do I have to create a data structure or have this scenario run once so I can insert the parsed JSON response into my HTTP Request Module?
Attached some screenies below so you can see where Im talking about.
EXAMPLE OF WHAT I AM LOOKING FOR:
Welcome to the Make community!
Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
A.
Save each bundle contents in your text editor as a bundle.txt
file, and upload it here into this discussion thread.
Uploading them here will look like this:
module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)
B.
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:
-
Either add three backticks ```
before and after the code, like this:
```
input/output bundle content goes here
```
-
Or use the format code button in the editor:
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
This will allow others to better assist you. Thanks!
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!
2 Likes
Hello!
If you run once your scenario (unlinking the HTTP Module), you should then see the 2 fields you need.
There is no need to create a Data Structure.
Benjamin
2 Likes