Use case
Build an interactive workflow that is triggered from a user agent (for example, a browser).
An example flow:
- User initiates an action on a browser to trigger a workflow
- HTTP request handler executes workflow using a pre-initialized workflow client
- Certain activities performed until an activity is reached to require user input
- Notice here the goal is not to send an email or notification via some other channel to collect that user input
- HTTP handler responds with a page. How does the handler know to do this? Is there a way for the workflow to communicate back to the “client” to indicate that the human action needs to be performed?
- User is shown a page on the browser to complete a form and submits
- Backend updates workflow and signals completion? If the issue at 4 can be addressed, signalling the workflow becomes trivial, possibly.
I am pretty new to Temporal, so I might be missing something obvious. Can you please help? I am using the Go-SDK.