How to Automatically Use Generated H2/H3 Headings for Subsequent Content Creation in a Loop

Hi everyone,

I’m setting up an automated workflow in Make to generate a blog article with ChatGPT (OpenAI). In my setup, I have two main modules:

  1. Module 4: ChatGPT generates the article structure with H2 and H3 headings based on a main topic.
  2. Module 5: I want to send each H2/H3 from Module 4 to ChatGPT as a separate prompt to create detailed content for each section.

My question is: How can I automatically pass each H2/H3 heading generated in Module 4 into a loop in Module 5, so that each heading is sent to ChatGPT one at a time for content generation?

I’d like to avoid manually entering the H2/H3 headings into a spreadsheet. Ideally, I want Make to use the generated headings directly from Module 4 in Module 5.

Any advice on how to set up this automation or examples of similar scenarios would be much appreciated!

Thank you!

You’ll have to use a Text Parser to split the text.

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

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.