Tutte le guide
E-commercePrincipiante
Notifiche ordini Shopify su Telegram in tempo reale
Ricevi un messaggio Telegram istantaneo per ogni nuovo ordine sul tuo store Shopify con n8n
30 marzo 20262 min readPrincipiante
Panoramica
Monitorare gli ordini in tempo reale è fondamentale per un e-commerce. Con n8n puoi ricevere notifiche Telegram immediate per ogni nuovo ordine Shopify, con dettagli su prodotti, importo e cliente.
Prerequisiti
- Istanza n8n self-hosted funzionante
- Store Shopify attivo
- Bot Telegram creato tramite @BotFather
Step 1: Creare il bot Telegram
- Apri Telegram e cerca @BotFather
- Invia
/newbote segui le istruzioni - Copia il token del bot (es.
123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11) - Invia un messaggio al bot e recupera il chat ID
Step 2: Configurare il webhook Shopify
In n8n, crea un nuovo workflow con un nodo Webhook:
- Copia l'URL del webhook generato
- In Shopify Admin > Settings > Notifications > Webhooks
- Aggiungi un webhook per l'evento "Order creation"
- Incolla l'URL del webhook n8n
Step 3: Formattare il messaggio
Aggiungi un nodo Set per creare il messaggio Telegram:
Il messaggio deve includere: numero ordine, nome cliente, importo totale, lista prodotti ordinati.
Step 4: Inviare la notifica Telegram
Aggiungi il nodo Telegram con:
- Credenziale: il token del bot
- Chat ID: il tuo chat o gruppo
- Testo: il messaggio formattato dal nodo Set
- Parse mode: HTML per formattazione
Step 5: Testare il flusso
- Crea un ordine di test su Shopify
- Verifica che il messaggio arrivi su Telegram
- Attiva il workflow
Risultato
Ogni nuovo ordine genera una notifica Telegram istantanea. Non perdi nessun ordine e puoi reagire in tempo reale.