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

Workflows #408

Open
Open
@austencollins

Description

@austencollins

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions