I have a long running job that I want to put in the middle of a Zap. The flow calls the OpenAI api, which can take up to 2 minutes to respond. Is it possible to make that work with Zapier? I have a few possible solutions in mind, and I’d love some best-practice advice:
- Make an Action that creates the job followed by a loop with a 1 minute delay action and then an API action to check for results of the job.
- Make one zap that creates the job and stores any necessary carryover into an AirTable database, and a second zap that gets triggered by a webhook from the job server and pulls the necessary carryover from AirTable.
The ideal solution would be a combination of 1 and 2: a single Zap that “pauses” until it receives a webhook, but I’m not sure that’s possible. What would you recommend?