πŸš€
WAGHL HELP CENTER
HomePrices
  • πŸ‘Welcome to WAGHL
  • ❓FAQ
    • Registration and Using Services
    • Payment and Subscriptions Management
    • Sending and receving WhatsApp Messages
    • Warmup a newly registered number
  • πŸš€Let's Get Started
    • How to Install the App
    • How to use the Admin Panel
    • How to send internal notificaions
    • Missed call text back
    • Premuim Actions and Webhook
    • How to stop getting incoming messages
    • Sending webinar messages after the Wait step
    • How to send Bulk Messages
  • πŸ‘¨β€πŸŽ¨Features
    • Sending Voice Notes
      • GHL Conversation Window
      • WAGHL Voice Solution
      • Using ChatGpt
    • WhatsApp List and Automation
      • What is WhatsApp List messages and benefits
      • How to build a WA List Message
      • Building a WhatsApp Chatbot with WA List
      • Sending list message as 1st message
      • How to delete a list, stop the list to respond on the keyword
    • Unlimited WhatsApp numbers in a single sub-account
    • ChatGpt Assistance Integration
    • Speech To Text - Convert voice notes into text
    • WhatsApp as a Separate Channel
    • Automatically send SMS to Non-WhatsApp numbers
    • How to send Nifty Images
  • πŸ“²SMS Service
    • Send SMS Using Your Phone
  • ⁉️Error Messages
    • Error Code 301: WhatsApp services for your account are not active
  • πŸ’°Refer & Earn
Powered by GitBook
On this page
  • SOP: Connecting Chat GPT with WAGHL Services
  • Webhook URL
  • Capture ChatGpt's last response
  • Cautionary Notes
  • Tips for Efficiency

Was this helpful?

  1. Features

ChatGpt Assistance Integration

Integrating ChatGpt in GHL using WAGHL

PreviousUnlimited WhatsApp numbers in a single sub-accountNextSpeech To Text - Convert voice notes into text

Last updated 2 months ago

Was this helpful?

ChatGpt in GHL in less than 10 minutes. Just follow the steps given in the video.

SOP: Connecting Chat GPT with WAGHL Services

Objective

To link WAGHL services with ChatGPT to create a automation or Chat GPT bot using WAGHL services for responding to user queries.

Key Steps

  1. Go to automations in your GHL sub-account and create a new workflow, choosing "From Scratch."

  2. Add a trigger (e.g., "Customer Replied") and set the Filter to "Reply Channel" as SMS. Save the trigger and enable Re-entry in Workflow Settings.

  3. Add an action as WebHook, set the method as POST, and paste the URL provided in the description link.

  4. Add two keys: Chat GPT Assistant ID and Chat GPT API Key, along with their respective values. Ensure the values are correct.

  5. Save the action, name the workflow (e.g., Chat GPT or Chatbot), and save and publish the workflow.

  6. Test the workflow by sending a message to the connected number to receive responses from Chat GPT.

Webhook URL

Webhook URLs may vary depending on the WhatsApp gateway you’re using.

To find the correct webhook URL for your GHL subaccounts, switch to the subaccount and navigate to...

Settings- Phone Numbers - Advanced Settings

Name
URL

WhatsApp Gateway

https://trigger.apimerger.com/chatgpt-assistant

WhatsApp Gateway 1

https://trigger1.apimerger.com/chatgpt-assistant

WA1 Connector

https://wa1.apimerger.com/chatgpt-assistant

WA2 Connector

https://wa2.apimerger.com/chatgpt-assistant

Custom Data Keys

Key
Value

chat_gpt_assistant_id

Chatbot assistant id

chat_gpt_api_key

ChatGpt api key

Optional Parameters

Key
Value

additional_instructions

additional instructions refer to extra directives you want to send to ChatGpt for that particular conversation.

thread_duration

Duration of how long a ChatGPT assistant retains the context of the conversation with a user. You can enter the thread duration in days, i.e. the value 1 means 1 day. You can set thread duration = 0 to delete threads.

custom_message

Override the customer's message so you can send a custom message to the ChatGPT assistant as per your requirements. For example, if you want to send a custom field etc. to ChatGpt

Note: This will not append anything to the customer message, this will override the customer message.

Capture ChatGpt's last response

To capture the last ChaGpt response under the contact custom field, create a custom field under the contact.

How to create the custom field for the contact

Go to Settings- Custom Fields- Add Fields

Select Input text as Multiline and in the field name put the below text

Chat Gpt Last Response

under group select Contact and click on Save

Cautionary Notes

  • Ensure correct values are entered for the Chat GPT Assistant ID and API Key.

  • Verify the webhook URL based on your default SMS provider - (WhatsApp Gateway, WhatsApp Gateway 1, or WA 1 Connector).

Tips for Efficiency

  • Keep the Chat GPT Assistant ID and API Key handy from your OpenAI platform.

  • Create a multi-line field named "Chat Gpt Last Response" in custom fields to capture and store the last response.

  • Regularly check and verify the last response captured in the GHL contacts to ensure the proper functioning of the integration.

πŸ‘¨β€πŸŽ¨
Integrating ChatGpt in GHL using WAGHL