Vai al contenuto
Supporto Spoki

Documentation for Spoki use

  • Italiano
  • Italiano

Onboarding

6
  • Best practices for API usage
  • Piani e tariffe | Spoki
  • Attivazione Spoki – autorizzazione da Meta BM
  • Prima di attivare Spoki: Cosa devi sapere sul tuo numero WhatsApp esistente
  • 2. Verifica Meta Business Manager
  • 3. Corso di Formazione Spoki

Integrazioni

34
  • EmailChef
  • Connect Shopify to Spoki AI Sales Agent
  • Zadarma
  • Gorgias
  • Make
  • Ringover
  • Magnews Flow
  • Salesforce Flow
  • Spoki WhatsApp Chat Chrome Extension
  • Integrare WhatsApp con Paypal
  • Come inviare un Webhook in uscita da Spoki vs un gestionale
  • Inserisci Pulsante di Chat su Shopify
  • Integrare Prestashop a WhatsApp
  • Integrare Calendly con Spoki
  • Integrare WhatsApp con Google Calendar
  • Integrare Spoki con qualsiasi gestionale attraverso API
  • Integrare Spoki con i Webhook
  • Incorpora Spoki nel tuo software
  • Integrare WhatsApp con Semplisio
  • Integrare WhatsApp a WPNotif
  • Integrazione di Spoki con Connectif: Automazione dei messaggi WhatsApp
  • Integra WhatsApp con Zoho
  • Integrare WhatsApp con IFTTT
  • Integrare WhatsApp con Qapla’
  • Integrare WhatsApp con Zapier
  • Integrare WhatsApp con Shopify
  • Integrazione WhatsApp e WooCommerce
  • Integrazione Klaviyo e Spoki
  • Integrare WhatsApp con Hubspot
  • Integrare Spoki con Brevo (ex sendinblue)
  • Integrare WhatsApp con ActiveCampaign
  • Integrare Spoki con i moduli di Facebook
  • Integrare WhatsApp con Google Fogli

Regole WhatsApp

8
  • Conversazioni
  • Tipologie di messaggi
  • Qualità dei messaggi inviati
  • Limiti contatti “giornalieri”
  • Regole per evitare il ban da WhatsApp
  • Autorizzazione all’utilizzo
  • Cosa fare se sei stato bannato da WhatsApp
  • Cosa fare se il tuo account è in qualità bassa

Piattaforma

16
  • Guida a Spoki Forms: Come Raccogliere Dati dai Contatti WhatsApp
  • Automazioni Pronte in Spoki
  • Come verificare l’autenticità delle email Spoki
  • Richiedere l’OBA (Account Business Ufficiale) WhatsApp
  • Dashboard
  • Chat
  • Automazioni
  • Campagne
  • Messaggi template
  • Ticket
  • Integrazioni
  • Gestione Contatti in Spoki
  • Liste
  • Pulsanti di chat
  • Campi dinamici
  • Tag

How to

69
  • Spoki sul tuo Smartphone – Web App e notifiche
  • Guida all’Analisi del Sentiment
  • Come Caricare una Lista di Contatti su Spoki
  • Come creare prompts per l’AI
  • Guida allo step “Risposta del cliente”
  • Introduzione all’uso del codice OTP
  • Guida all’Opzione Diramazione nelle Automazioni
  • Accettazione Marketing su Spoki: Guida Operativa
  • Come creare un’automazione semplice dalla sezione Campagne
  • Come filtrare le chat per uno o più tag/operatori/liste/ticket
  • Azione rapida “If/else”
  • Step “Ritardo”: Quando e come usarlo
  • Come tracciare i click sui link dei messaggi Template: UTM
  • Come scrivere i documenti per l’AI
  • Come creare un funnel di marketing su Shopify
  • Campi Dinamici: perché usarli?
  • Come attivare la visualizzazione del catalogo su WhatsApp
  • Come terminare automazione manualmente per specifici contatti
  • Come generare una lista da Statistiche Campagna
  • Come aggiungere Tag in automazione prima di inserirlo
  • Nuove funzionalità di Active Campaign
  • Come creare una lista per i contatti in uno specifico step automazione
  • Come cambiare media nel Template prima di inviarlo in chat
  • Come esportare tutti i messaggi di una chat come CSV
  • Eliminare Definitivamente un Contatto su Spoki
  • Trascrizione e traduzione audio in chat
  • Ripristina tutti i contatti bloccati
  • Come istruire l’intelligenza artificiale (AI) su Spoki
  • Spoki – primi passi
  • Integrare Spoki con le Inserzioni Meta
  • Template suggerito dall’Intelligenza Artificiale (AI)
  • Come inviare il contenuto di un messaggio ad un webhook esterno
  • Come gestire automaticamente chi risponde/ non risponde ad un messaggio
  • Step multipli nell’automazione
  • Come far uscire un singolo contatto da tutte le automazioni
  • Messaggi liberi con bottoni
  • Come trasferire i contatti dalla tua App Whatsapp a Spoki
  • Come gestire i casi in cui devo inviare la risposta in chat ad un cliente dopo 24 ore?
  • COME COLLEGARE SPOKI ALLE CAMPAGNE INTERAZIONE DI FACEBOOK
  • Come gestire prenotazione Calendly + Active Campaign + Spoki
  • Come consultare la reportistica delle automazioni
  • Come inviare messaggi multi lingua
  • Come posso identificare quale utente ha risposto in chat ad un messaggio?
  • Come attivare automazione per il messaggio di auguri compleanno
  • Come gestire automaticamente chi non risponde
  • Come attivare il plugin di Woocommerce associato a Spoki
  • Come attivare un’automazione per gli orari non lavorativi
  • Come attivare un messaggio automatico da far partire nei giorni festivi
  • Come collegare Spoki alle campagne Facebook
  • Come collegare un pulsante chat sul sito ad una risposta automatica
  • Come inserire il pulsante di chat WhatsApp sul sito WordPress
  • Proporzioni consigliate per le immagini nei messaggi Whatsapp
  • Come creare un’automazione con risposta ai bottoni del template
  • Come avviare un’automazione con API
  • Come attivare le notifiche su Spoki
  • Come aggiornare il profilo WhatsApp di Spoki
  • Come creare nuovi utenti e attribuire ruoli diversi
  • Come integrare Spoki per i tuoi clienti nel tuo software
  • Come bloccare/ sbloccare i contatti in automatico
  • Come recuperare i carrelli abbandonati su Woocommerce
  • Come avviare un messaggio di reminder in automatico tramite Spoki
  • Come duplicare le automazioni/ template
  • Gestire i messaggi liberi nel flusso di automazione
  • Come attribuire o rimuovere i tag ai contatti di una lista
  • Visualizzare solo le chat non lette
  • Come eliminare contatti multipli
  • Come utilizzare il webhook di ritorno da Spoki a Zapier
  • Migrazione da vecchio provider Twilio

Strategie

11
  • Suggerimenti per invii massivi superiori a 10.000 contatti
  • Strategie WhatsApp per il Natale: La Guida Completa per Massimizzare Vendite e Soddisfazione Cliente
  • Whatsapp e Black Friday: ecco le automazioni che ti faranno vendere di più
  • WhatsApp per E-commerce: Come Trasformare Conversazioni in Vendite con Spoki
  • Perché l’AI di Spoki è Essenziale in ogni Strategia di Comunicazione e Vendita
  • WhatsApp che Fa Vendere – MiniGuida Strategica Settoriale
  • Raggiungi Tutti i Tuoi Contatti Senza Eccezioni: Gli SMS Integrati nelle Automazioni Spoki
  • Guida pratica per creare, ottimizzare e approvare template WhatsApp con Spoki e ChatGPT
  • Le 6 automazioni più efficaci da fare con Spoki
  • Calendario e-commerce 2025

Release Notes

4
  • Template Carosello
  • Report Tickets
  • Commerce Triggers
  • Step automazione “Avvia automazione”
  • Home
  • Docs
  • Send Webhook – Automation Step
View Categories

Send Webhook – Automation Step

Overview #

The Send Webhook step calls an external HTTP endpoint from your automation. You can choose the HTTP method, set headers, build a JSON payload (with variables), and optionally save parts of the response back into contact/custom fields.


When to Use #

✅ Integrate with external CRMs/ERPs/payment systems
✅ Trigger downstream workflows (Zapier/Make/custom APIs)
✅ Enrich contact data from third‑party sources
✅ Log events or analytics in your data platform


How to Add the Step #

  1. In the automation builder, click "Add Action" or the "+" button
  2. Choose "Send Webhook"

Configure the Step #

The configuration has four parts: URL & method, headers, payload, and response mapping.

1) URL & Method (Required) #

  • Method: GET, POST, PUT, PATCH, DELETE
  • URL must be present and must not contain spaces
  • You can inject dynamic values using custom fields into the URL with %%FIELD_CODE%%

Examples:

  • https://api.example.com/contacts?email=%%EMAIL%%
  • https://api.example.com/orders/%%ORDER_ID%%

Validation messages will appear if the URL is empty or contains spaces.

2) Headers #

  • A default header Content-Type: application/json is pre‑filled
  • Add/edit headers in the Edit tab; empty headers are auto‑removed in Preview
  • You can insert dynamic values with %%FIELD_CODE%% (e.g., Authorization: Bearer %%API_TOKEN%%)

3) JSON Payload (for POST/PUT/PATCH) #

  • For POST, PUT, and PATCH you can edit a JSON payload with autocomplete/validation
  • Two tabs: Edit (monaco JSON editor with schema hints) and Preview (computed view)
  • Use the "Add entities" helper to insert common properties quickly

Property helper inserts canonical keys:

  • Contact object: "contact": "{{ contact }}"
  • Contact fields: "contact__email": "{{ contact.email }}"
  • Custom fields: "custom_field__CUSTOM_CODE": "{{ %%CUSTOM_CODE%% }}"
  • Other entities: "automation" | "context" | "metadata"

You can also hand‑craft JSON and mix variables, e.g.:

{
  "email": "{{ contact.email }}",
  "order_id": "{{ %%ORDER_ID%% }}",
  "campaign": "{{ context.campaign }}",
  "note": "Lead {{ %%FIRST_NAME%% }} from {{ %%CITY%% }}"
}

For GET and DELETE, the payload section is hidden; use query parameters instead.

4) Save Response to Fields (Optional) #

  • Add rows specifying what part of the JSON response to save and where
  • Response paths must start with data (e.g., data.id, data.user.email)
  • Map each path to a destination field: a contact field (FIRST_NAME/LAST_NAME/EMAIL) or a custom field code
  • Only rows with both a valid data path and a destination are saved

Preview shows a compact summary of the mappings you configured.


Validation Rules #

  • URL: required, no spaces
  • JSON: must be valid (editor shows errors)
  • Headers: each row needs both key and value
  • Response mapping: responseField must start with data and have a destination

Submit button activates only when the step is valid.


Practical Examples #

1) Create/Update Contact in CRM #

Method: POST
URL: https://crm.example.com/api/contacts
Headers: Authorization: Bearer %%CRM_TOKEN%%
Payload:
{
  "email": "{{ contact.email }}",
  "first_name": "{{ contact.firstname }}",
  "last_name": "{{ contact.surname }}",
  "phone": "{{ contact.telephone }}",
  "ltv": "{{ %%LTV%% }}"
}
Save response:
- data.id → CUSTOM FIELD: CRM_CONTACT_ID

2) Check Payment Status #

Method: GET
URL: https://payments.example.com/api/orders/%%ORDER_ID%%
Headers: Authorization: Bearer %%PAYMENT_TOKEN%%
Save response:
- data.status → CUSTOM FIELD: PAYMENT_STATUS
- data.amount → CUSTOM FIELD: LAST_PAYMENT_AMOUNT

3) Log Event #

Method: POST
URL: https://logs.example.com/events
Payload:
{
  "type": "automation_step",
  "automation": "{{ automation }}",
  "contact": "{{ contact }}",
  "metadata": "{{ metadata }}"
}

Best Practices #

  • Security: Put secrets in headers or protected fields, not in URLs
  • PII: Avoid sending unnecessary personal data; follow your privacy policy
  • Idempotency: Include idempotency keys for POST requests if your API supports them
  • Resilience: Save important response IDs (e.g., data.id) to custom fields for later steps
  • Observability: Add tags/notes after webhook for easier tracing

Troubleshooting #

JSON invalid / button disabled #

  • Fix JSON errors in the Edit tab; Preview must show a valid result

Mapping not saved #

  • Ensure each row has a data... response path and a destination field

URL validation error #

  • Remove spaces and ensure the URL is not empty; use %%FIELD_CODE%% variables instead of string concatenation

Headers ignored #

  • Empty header rows are removed in Preview; ensure both key and value are set

Payload not shown #

  • Payload is available only for POST/PUT/PATCH; for GET/DELETE use query params

What are your Feelings
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on Ottobre 24, 2025

Powered by BetterDocs

Table of Contents
  • Overview
  • When to Use
  • How to Add the Step
  • Configure the Step
    • 1) URL & Method (Required)
    • 2) Headers
    • 3) JSON Payload (for POST/PUT/PATCH)
    • 4) Save Response to Fields (Optional)
  • Validation Rules
  • Practical Examples
    • 1) Create/Update Contact in CRM
    • 2) Check Payment Status
    • 3) Log Event
  • Best Practices
  • Troubleshooting
    • JSON invalid / button disabled
    • Mapping not saved
    • URL validation error
    • Headers ignored
    • Payload not shown
Spoki
Sviluppa il tuo Business con Spoki e WhatsApp
Prova ora gratis

Contatti

  • support@spoki.com
  • Informativa Privacy

Menu

  • Home
  • Prezzi
  • Funzionalità
  • Integrazioni
  • Intelligenza Artificiale
  • Chi siamo

Soluzioni

  • Marketing
  • Vendita
  • Assistenza Clienti
  • Developers

Supporto

  • API Documentation
  • Blog
  • Casi Studio
  • Learning Center
  • Manuale

Spoki.it © All rights reserved NextAI Srl P.IVA IT02717930743 Viale Francia snc, 72019 San Vito Dei Normanni (BR) Italy

  • Italiano