Hi all, any ideas on how to kick off a prefect flow when a specific email is sent? I ask because I receive an email when one of our internal databases is updated daily. So I want a flow to start based on receiving that email.
01/27/2023, 7:31 PM
Had a similar use case. Planned to build a toy app to see if it is feasible.. was thinking Google api (as in my case its gmail) .. and the watch function. Could use something like zapier maybe I think that could do it
Maybe the code that sends the email could do be modified to make the api call to start a flow?
01/28/2023, 4:19 PM
@Stephen Good question! I was looking into this yesterday and found an old package, O365 (https://o365.github.io/python-o365/latest/getting_started.html), that I can use to authenticate and check my work email. From there, I was thinking about a check for a specific email. Basically, I would have Prefect run every 30 minutes to check for this email and kickoff a flow if True.