Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. Paystack Webhook
  2. AI Agent
  3. Extract Paystack Signature
  4. Telegram Trigger
  5. Customer Chat Memory
  6. Customer Chat Model
  7. Send Telegram Reply
  8. Products
  9. Parse Payload
  10. Load User State
  11. Normalize User State
  12. Generate Paystack Payment Link
  13. Verify Paystack Transaction
  14. Lookup Order by Reference

31 steps in total.

Similar automations