How it all works.
graph TD;
Domain-X--async-request-->unicom-server;
unicom-server--start-async-workflow-->temporal;
temporal--notify-domain-->webhook;
webhook--response-event-->Domain-X;
- Domain-X makes an async request to send a notification to unicom (email for now)
- Unicom-server initiats a workflow and responds back with the workflow ID
- Temporal executes the workflow, initiating the request at the requested time.
- After successful completion or failure to send the communication the result is returned to the domain via the requested medium(SQS/EventBridge/Webhook).
graph TD;
Domain-X--sync-request-->unicom-server;
unicom-server--start-sync-workflow-->temporal;
temporal--workflow-complete-->unicom-server;
unicom-server--response-->Domain-X;
- Domain-X makes a sync request to send a notification to unicom (email for now)
- Unicom-server initiats a workflow
- Temporal executes the workflow and the unicom-server waits for the workflow to complete.
- After successful completion or failure to send the communication the result is returned to the domain via the same grpc/http request they initiated the request with.