Notify Teams of validation errors from function calls
Recipe Tools
What it does
When a function call occurs, this automation validates the downstream steps and posts any errors to Teams. Someone sees the validation failure immediately so the issue can be investigated without checking logs.
Who it's for
Engineering teams who need to surface function validation errors in Teams without manual monitoring.
How teams use this
Alert teams to validation failures
When a function call fails validation, post the error message to Teams immediately so the team can investigate without checking logs manually.
Route errors to a dedicated channel
Send validation errors to a specific Teams channel for error tracking instead of the general channel. The message format stays the same.
Include error codes and timestamps
Extend the Validation Message Template to add error codes and timestamps so the team has more context when the error occurred and what caused it.
Escalate critical validation errors
Filter the validation errors by severity level and post only critical failures to a security or operations channel. Other errors go to the engineering channel.
How it works
- Receive the function call. A function call initiates this automation in real time, starting the validation check of downstream steps.
- Build the validation message. Create variables for channel ID and additional parameters, then build a message using the Validation Message Template so Teams receives the right details.
- Post the error to Teams. Post the validation message to Teams as a Workbot so the channel sees the error and knows the validation failed.