I have an Airtable automation that uses the AI module to summarize text fields for each record in a view. A repeating group iterates through that list. In Make, those newly updated records are processed through a Word template to output a report. I'd like to figure out a way to trigger them with one button press.
There are three ways I'm aware of for triggering Make, but I can't figure out how to make any of them to work.
- Webhook doesn't work (I think) because I need it to happen sequentially, with the Airtable automation running first.
- Record update: my original plan was to update the status of a report record that Make was watching after the Airtable automation looped through the whole list, but it doesn't look like you can add another action after a repeating group. So I also tried a script within the group that would count the loop iterations and compare to the list length, and at the end of the last iteration, would update the record. But I don't think it's possible to save the iteration count for the next iteration with input variables.
- New record: same problem as record update.
Alternatives I'm trying to avoid
I thought about triggering the Make automation before the repeating group, but then I'd have to set a timer somewhere in the process so the AI summary section has time to finish. The problem is, I think the amount of time this takes will be pretty variable, so I can't estimate how long it will be. I could set a super long one, but since users trigger with a button, I want the output (an email with the annual report) to happen fairly soon after that. This might be my plan B, though.
I know Make has AI modules, they just cost money, whereas I think I can get by on the free Airtable credits.
I know Airtable has document creation integrated in automations, but it's a complex document that it can't handle.
I thought about having like 10 status values that could be updated every time the loop went through, but that caused multiple problems, not the least of which is that there might be different numbers of records at different times.
Probably the easiest would be to just have two buttons, one to summarize fields and one as a webhook to launch Make, I just hate that from a UI standpoint.