What is your goal?
I want to build a reliable automation that improves productivity for enterprise teams using AI agents. The goal is to track agent task outcomes in Google Sheets and send Slack notifications whenever an agent fails a task.
Our agents run in Sharkly.ai (disclosure: I work on it) and can post their results back to Jira.
What is the problem?
As teams use more AI agents, it becomes harder to maintain visibility into task ownership, execution status, and failures.
I want every task event to be logged, whether it succeeds or fails, while ensuring that failed tasks trigger Slack alerts. I’m also looking for a reliable way to parse incoming webhook payloads and handle missing or inconsistent fields.
What have you tried so far?
Created a Custom Webhook to receive agent task events.
Added a Router with two routes:
Route 1: Send every event to Google Sheets using “Add a Row”.
Route 2: Filter events where status = failed and send a Slack notification.
Started mapping the agent name, task ID, status, and timestamp from the webhook payload.
I’m unsure whether I should normalize the payload before the Router and how best to handle malformed events without losing the original task record.
Create public scenario page
I haven’t created a public scenario page yet. I’d appreciate guidance on the cleanest scenario structure before sharing a reproducible version.