Approval requests: routing, a decision and a trace in the table

The scenario validates the request, picks the approver, emails them, records the status in a table and notifies the requester of the decision.

  • The approver is chosen by a rule, not by asking around
  • Every request has a status in AWS DynamoDB — you can see whose turn it is
  • Incomplete requests bounce back with an explanation, not silence
  • The requester hears the decision by email, not in a hallway

How it works

To get AWS SES notifications in AWS DynamoDB, you don't need a developer: a ready-made scenario watches events and sends messages for you.

  1. Starts when: Start Workflow
  2. Then: Validate Request Data
  3. Check: Is Request Valid?
  4. If yes: Determine Approver
  5. Then: Notify Approver
  6. Then: Create Pending Record
  7. Then: Wait for Approval Response
  8. Then: Extract Approval Result
  9. Check: Approved?
  10. If yes: Update Record – Approved
  11. Then: Notify Requester – Approved
  12. Check: Join End Paths
  13. Then: Finalize
  14. If no: Update Record – Rejected
  15. Then: Notify Requester – Rejected
  16. If no: Send Invalid Input Alert

You can launch this AWS SES + AWS DynamoDB integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.