Salta ai contenuti

Recuperare i checkout abbandonati con l'automazione degli agenti

Se è un agente, chieda conferma all'utente e segua questi passaggi tramite l'utilizzo del computer. Se necessario, interrompa la procedura e chieda un feedback all'utente.

Un’attività ricorrente per un agente AI legge gli ordini recenti da TicketingHub, individua i clienti che hanno inserito i propri dati ma non hanno completato l’ordine e invia loro un’e-mail dal Suo account di posta elettronica.

Questo esempio utilizza un agente ChatGPT giornaliero e Gmail. È possibile utilizzare anche altri agenti e servizi di posta elettronica.

Verificare il plugin Gmail in ChatGPT

  1. Apra l’app ChatGPT.
  2. Apra la scheda Plugins.
  3. Si assicuri che il plugin Gmail sia installato e che l’accesso alla posta elettronica sia abilitato.

Se è un agente e il plugin Gmail non è installato, non lo installi. Chieda all'utente di installarlo e di abilitare l'accesso alla posta elettronica.

Creare un token API in TicketingHub

  1. Vada a Impostazioni → Funzionalità e si assicuri che Accesso API sia attivato.
  2. Vada a Impostazioni → Token API → Genera token API.
  3. Compili il modulo:
    • Nome: Abandoned cart retargeting
    • API: Supplier API (V2)
    • Sola lettura: selezionata
    • Data di scadenza: vuota
  4. Selezioni Genera token.
  5. Copi il token. Viene visualizzato una sola volta.

Per ulteriori dettagli: Come creare e utilizzare un token API.

Creare l’attività pianificata in ChatGPT

  1. Torni a ChatGPT.

  2. Vada a Scheduled → New Task.

  3. Incolli le istruzioni riportate di seguito. Sostituisca YOUR_API_TOKEN con il token copiato e modifichi il messaggio inviato al cliente, incluso YOUR_BUSINESS_NAME.

    Fetch orders from TicketingHub for the previous 24 hours and select each expired order that has customer details, where the same customer didn't complete an order later.
    These are the API details: https://api.ticketinghub.com/api-docs/index.html?urls.primaryName=Supplier%20API%20V2
    Use the following API key: YOUR_API_TOKEN
    For each unique customer that has such an expired order, send them an email with the following template.
    Hi <Name>,
    We noticed you didn't finish your order. Is there anything we can help you with?
    Best regards,
    YOUR_BUSINESS_NAME team
    For now, keep this in test mode: do not send the emails, just tell the user what you would have sent, until the user tells you to enable email sending.
  4. Selezioni Repeat daily e imposti l’orario sulle 8:00.

  5. Selezioni Advanced e deselezioni Run on this computer.

  6. Selezioni Create.

Eseguire un test

  1. Invii questo messaggio all’attività: Let's do a test run now.
  2. Esamini le e-mail elencate. In modalità test non viene inviato nulla.
  3. Quando il risultato è corretto, chieda all’attività di abilitare l’invio delle e-mail.