Send Telegram Notification for New WooCommerce Orders
New WooCommerce order? Get an instant Telegram alert with order details and a direct link to view it.
What it does
Get instant Telegram alerts whenever a new WooCommerce order arrives, complete with order details and a direct link to review it. You receive these formatted notifications automatically so you can manage your store without constantly checking the dashboard.
Step by step
- Configure the WooCommerce webhook to trigger on order created events
- Map the order fields like ID and total to the Telegram message template variables
- Use the Telegram Bot API sendChatMessage endpoint with the formatted text payload
Where the LLM does the work
- Generate a concise and engaging natural language summary of the order details for the notification body
- Draft clear call-to-action text that encourages the admin to click the order link
- Refine the message formatting to ensure it renders correctly with Telegram's HTML or Markdown parse mode
Watch out for
Telegram messages exceeding 4096 characters will fail so truncate long product lists before sending.
The bot must be added as an administrator in a private group to receive direct notifications from the workflow.
Special characters in customer names may break Telegram HTML parsing so escape them properly before formatting.
Tools that fit
The agent brief
Everything your agent needs, including the gotchas. Copy it and go.
You are helping me build the following AI agent workflow. ## Goal Send Telegram Notification for New WooCommerce Orders: New WooCommerce order? Get an instant Telegram alert with order details and a direct link to view it. ## Specification - What it does: Get instant Telegram alerts whenever a new WooCommerce order arrives, complete with order details and a direct link to review it. You receive these formatted notifications automatically so you can manage your store without constantly checking the dashboard. - Trigger: Triggered by an event (Event · on new order) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - WooCommerce: Order trigger and data extraction - Telegram: Sending formatted notifications to admin ## Known pitfalls, handle each one explicitly in your implementation 1. Telegram messages exceeding 4096 characters will fail so truncate long product lists before sending. 2. The bot must be added as an administrator in a private group to receive direct notifications from the workflow. 3. Special characters in customer names may break Telegram HTML parsing so escape them properly before formatting. ## Reference implementation https://n8n.io/workflows/4818 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/send-telegram-notification-for-new-woocommerce-orders/ via usecasesforagents.com
Frequently asked questions
Can I use a different Ecommerce than WooCommerce?
Yes. WooCommerce is only the example ecommerce in this recipe. The same flow works with Adobe Commerce (Magento 2), AliExpress Affiliate API, Shopify and Zoho Commerce. Swap the ecommerce connection and keep the rest of the setup as written.
Want this running in your business?
This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Who it's for
Also fits E-commerce Operator.