Library / AI Agents & Assistants
AI Agents & Assistants
Run an AI Telegram shopping assistant with AWS Bedrock, Paystack and Google Sheets
When an API call/webhook arrives, it runs an AI agent with AWS Bedrock and Claude using AWS Bedrock, Data Table, Google Sheets, Telegram.
What it does
## Telegram AI Shopping Assistant with Paystack Checkout Who is this for? Store owners who want to sell over Telegram with an AI agent that handles browsing, cart, and checkout, plus automatic Paystack payment fulfillment. What it does Runs two flows. A customer chat flow where an AI agent guides shoppers through products, cart, and checkout via a Paystack payment link. A webhook flow that verifies each Paystack payment, records the paid order, clears the cart, and confirms to the customer on Telegram. How it works 1. A Telegram message arrives and the payload is parsed. 2. The user's saved state is loaded and normalized. 3. The AI Agent classifies intent and calls tools (catalog, cart, payment link, orders). 4. The reply is sent back on Telegram. 5. Separately, Paystack posts a webhook when a payment happens. 6. The signature is verified, the customer is resolved from the cart, and the Payment Fulfillment Agent verifies the transaction, marks the order paid, clears the cart, and confirms. Setup steps 1. Connect a Telegram bot credential (used by the trigger and both send nodes). 2. Connect AWS Bedrock for the two chat models. 3. Connect Google Sheets (Products, Orders, Cart tabs). 4. Connect the ecom_users n8n Data Table. 5. Add the Paystack secret as HTTP Bearer + Crypto (HMAC) credentials. 6. Point your Paystack webhook at the Paystack Webhook node URL.
The steps
- Paystack Webhook
- AI Agent
- Extract Paystack Signature
- Telegram Trigger
- Customer Chat Memory
- Customer Chat Model
- Send Telegram Reply
- Products
- Parse Payload
- Load User State
- Normalize User State
- Generate Paystack Payment Link
- Verify Paystack Transaction
- Lookup Order by Reference
31 steps in total.
Similar automations
AI Agents & AssistantsExtract doctor stamp details from images with AWS Bedrock Claude and SNS14 stepsReports, Analytics & DashboardsSend daily AWS news digest to Microsoft Teams with Bedrock Claude filtering12 stepsData Sync & ETLSend daily JLPT kanji-safe lessons to Microsoft Teams with Sheets and Claude18 stepsImage, Video & AudioTranscribe Audio from AWS S3 with AWS Transcribe4 steps