Updating google slides template with open ai generated content

I need to build this workflow:

  1. User enters responses through a Google Form. These are stored to Google Spreadsheets
  2. Based on the responses of the user, “design” prompts for open AI to generate content that has to be “replaced” in placeholders in 4-5 different slides. the placeholders are at fixed layouts in the Google Slide template in this fashion - {{placeholder}}
  3. Since there are multiple placeholders and I have to run multiple prompts, I need to use an iterator.
  4. The output from the prompts run via the iterator are stored in an array aggregator, from which we extract them.
  5. Now, i need to take those outputs and “update” the ppt - the template.

The problem is in step 5. If I use a “Create a slide/presentation from template”, I am getting 4-5 ppts created (this number is equal to the number of times the iterator is running). Ideally, I need only 1 presentation with all slides updated with the output of the prompt.

Here’s a sample scenario - please note this is just to mimic the workflow that I have - I know I need to add a google slides module at the end - but I’m stuck at this problem where multiple slides are being created.

Ideally, I need to be forcing the iterator to run only on the prompts, collect the output to the array aggregator; and then update the content into each slide of the ppt. How do I do this?
@samliew you’ve been an angel, responding to most of these queries! Please help again!! Thanks in advance.

I can’t really help with this at the moment since I don’t know how the scenario runs.

There is no combined module. You likely have to create a presentation first before you can add slides to it.

If you need further assistance,

Did you know, this forum has a Hire a Pro category, where you can post your request for off-site specialised help on other platforms (video call/screenshare/private messaging/etc.)? This may help you get your issue resolved faster especially if it is urgent. It is important to post your request in the Hire a Pro category, as forum members are not allowed to advertise their services elsewhere (like here).

Hope this helps!

@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!