Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Workflows #408

Open
austencollins opened this issue Apr 19, 2018 · 0 comments
Open

Workflows #408

austencollins opened this issue Apr 19, 2018 · 0 comments

Comments

@austencollins
Copy link
Member

While writing out use-cases for CloudEvents, I feel the need for a workflow option, based on the same event. For example, on a user.created event, I wish I could have the following actions performed, but in this specific order (like step-functions):

  • Enrich the user profile by processing the email w/ Clearbit’s Enrichment API.
  • Take the user profile image found by Clearbit and analyze it for vulgar content and insights to further enrich the user profile (use Google Vision API or AWS Rekognition or a similar service).
  • Copy the user profile image to storage.
  • Send a welcome email. Use the enriched info to send a personalized email.
  • Add the user event to an analytics system.
  • Add the user to a CRM.

If these actions were divided amongst FaaS across providers and the EG could broker each step, it would be safer (assuming Event Gateway can pause or do something else when encountering an error.
It can keep workflow state in the CloudEvents metadata). Not sure if workflows are on the RoadMap for Event Gateway. But they would sure be awesome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant