Approvals by e-mail
Open examples/E-Mail/Approval by E-Mail in the file storage: a working diagram that you can start as a dry run and adapt. It uses placeholder addresses and the sample data of the installation.
The problem. Expenses, purchase requests, leave, publication of a text: somebody has to say yes, and that somebody does not want to log in to another system. A mail with two links is enough.
The workflow.
The run sleeps until a link is clicked. It does not block a thread, so it may wait minutes or weeks, and it survives a restart of the server.
Ask the agent:
Build an approval flow: send the manager an e-mail with the request, where the actions "approve" and "reject" are links. The diagram sleeps until a link is clicked and then continues on the matching path.
Building blocks. Send E-Mail and the
click response decision after it, which turns every outgoing edge into a
link in the mail. Add a timer edge timeout to recover when nobody answers.
Variations. The same flow with a push notification with answer buttons; an input page when the approver has to give a reason ("mandatory when rejecting").