Spliting ChatGPT's result and sending data to Airtable

Welcome to the Make community!

Yes, that is possible. You’ll need a minimum of one module:

Screenshot_2024-08-19_230837

Output

Module Export

You can copy and paste this module export into your scenario. This will paste the modules shown in my screenshots above.

  1. Copy the JSON code below by clicking the copy button when you mouseover the top-right of the code block

  2. Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the canvas.

  3. Click on each imported module and save it for validation. You may be prompted to remap some variables and connections.

Click to Expand Module Export Code

JSON - Copy and Paste this directly in the scenario editor

{"subflows":[{"flow":[{"id":174,"module":"openai-gpt-3:transformTextToStructuredData","version":1,"parameters":{"__IMTCONN__":107818},"mapper":{"model":"gpt-4o","rawText":"{{173.result}}","prompt":"Extract an article containing multiple recipes into a JSON array.","parameters":[{"name":"recipes","description":"an array of recipes","type":"arrayObject","isRequired":true,"definitionName":"recipe_def"}],"objectDefinitions":[{"name":"recipe_def","description":"a recipe","properties":[{"name":"name","description":"name of recipe","type":"string","isRequired":true},{"name":"ingredients_list","description":"a list of ingredients","type":"arrayString","isRequired":true},{"name":"instructions_list","description":"an list of step-by-step instructions","type":"arrayString","isRequired":true}]}]},"metadata":{"designer":{"x":1963,"y":-314,"name":"Recipe Extractor"},"parameters":[{"name":"__IMTCONN__","type":"account:openai-gpt-3","label":"Connection","required":true}]}}]}],"metadata":{"version":1}}

Note: Did you know you can reduce the size of blueprints and module export code like the above, using the Make Blueprint Scrubber?

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!