Using an Email API for Delegated Workflows Errors

Delegated Workflows as of 2025 are not able to provide error context when running from the Admin console. This can lead to many escalations from contact center, help desk, etc. admins that are running delegated flows on a daily basis. In order to provide them the error context and hopefully reduce the number of escalations, an Email API is used (in this case Gmail but there are many others) to pass any error information to the executor.

Template attached is used for assigning T-shirt size to a user.

*Note: if many delegated flows are in use, the email logic should be moved to a helper flow that can be used across multiple flows.

2DelegatedWorkflowsWithEmailApi.folder (62.4 KB)