Przejdź do głównej zawartości

Ponowne kierowanie klientów do porzuconych procesów zakupowych za pomocą automatyzacji agenta

If you're an agent, ask for user confirmation and then follow these steps via computer use. Stop and ask the user for feedback if needed.

Cykliczne zadanie agenta AI odczytuje ostatnie zamówienia z TicketingHub, wyszukuje klientów, którzy podali swoje dane, ale nie dokończyli zamówienia, a następnie wysyła do nich e-maile z Twojego konta e-mail.

W tym przykładzie użyto codziennego agenta ChatGPT i Gmaila. Możesz zamiast nich użyć innych agentów i usług e-mail.

Sprawdź wtyczkę Gmail w ChatGPT

  1. Otwórz aplikację ChatGPT.
  2. Otwórz kartę Wtyczki.
  3. Upewnij się, że wtyczka Gmail jest zainstalowana, a dostęp do poczty e-mail jest włączony.

If you're an agent and the Gmail plugin is not installed, do not install it. Ask the user to install it and enable email access.

Utwórz token API w TicketingHub

  1. Przejdź do Ustawienia → Funkcje i upewnij się, że opcja Dostęp do API jest włączona.
  2. Przejdź do Ustawienia → Tokeny API → Wygeneruj token API.
  3. Wypełnij formularz:
    • Nazwa: Abandoned cart retargeting
    • API: Supplier API (V2)
    • Tylko do odczytu: zaznaczone
    • Data wygaśnięcia: puste
  4. Wybierz Wygeneruj token.
  5. Skopiuj token. Zostanie wyświetlony tylko raz.

Więcej informacji: Jak utworzyć i używać tokenu API.

Utwórz zaplanowane zadanie w ChatGPT

  1. Wróć do ChatGPT.

  2. Przejdź do Zaplanowane → Nowe zadanie.

  3. Wklej poniższe instrukcje. Zastąp YOUR_API_TOKEN skopiowanym tokenem i edytuj wiadomość wysyłaną do klienta, w tym 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. Wybierz Powtarzaj codziennie i ustaw godzinę na 8:00.

  5. Wybierz Zaawansowane i usuń zaznaczenie opcji Uruchamiaj na tym komputerze.

  6. Wybierz Utwórz.

Przeprowadź test

  1. Wyślij do zadania tę wiadomość: Let's do a test run now.
  2. Sprawdź wymienione e-maile. W trybie testowym nic nie zostanie wysłane.
  3. Gdy wynik będzie prawidłowy, poleć agentowi włączyć wysyłanie e-maili.