Compute verified campaign statistics with Amazon Bedrock AgentCore and Slack
Quick overview This workflow receives a webhook payload of numeric campaign values, computes descriptive statistics using Amazon Bedrock AgentCore with the Code Interpreter tool, verifies the results in n8n, and posts a formatted summary to a Slack channel.
How it works Receives an HTTP POST request on a webhook with a JSON body containing a values array and an optional label. Normalizes the incoming payload and sets defaults such as the agent name, Slack channel, label, and values list. Sends the label and values to an Amazon Bedrock AgentCore agent configured to run Python via Code Interpreter and return strict JSON statistics. Parses the agent response, recomputes the mean and count locally, and flags the output as verified only if it matches within a small tolerance. Posts the verified (or unverified) statistics summary to the configured Slack channel.
Setup Create and select an Amazon Bedrock AgentCore API credential for the agent step. Create a Slack credential and set the target channel name (or update/remove the Slack posting step if you don’t want notifications). Activate the workflow, copy the webhook URL, and send POST requests to it with a JSON body that includes values (and optionally label).
Related Templates
Verify Linkedin Company Page by Domain with Airtop
Automating LinkedIn Company URL Verification Use Case This automation verifies that a given LinkedIn URL actually belo...
Create a Speech-to-Text API with OpenAI GPT4o-mini Transcribe
Description This template provides a simple and powerful backend for adding speech-to-text capabilities to any applicat...
Build a Restaurant Voice Assistant with VAPI and PostgreSQL for Bookings & Orders
This n8n template demonstrates how to create a comprehensive voice-powered restaurant assistant that handles table reser...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments