Can you give us some more information about this calendar invite? how is it created and why is there a possibility that it won’t exist?
Andy, it’s not an invite. I have a calendar which is populated automatically when orders are created in another system. The calendar entries reflect order shipping obligations, and there may or may not be obligations on a particular day. When I search for calendar entries, there may or may not be anything in the date range of interest.
Since posting I have come up with a clumsy but effective workaround.
I check the box to create an entry if none is found. The entry is a temporary one with a particular summary string. In that way, the zap always continues.
I process the information returned from the search, If the event returned does not match the temporary one, I create the response the return it in the form of a text message. If the event matches the temporary event, I send a “no events found” message.
I then filter the zap and stop it unless the event matches the temporary event, in which case the zap continues and I call the google calendar app again, this time to delete the temporary event.
It’s a bit clumsy, but it works.
Glad you came up with a workaround!