ChatGpt Assistance Integration
Integrating ChatGpt in GHL using WAGHL
Last updated
Was this helpful?
Integrating ChatGpt in GHL using WAGHL
Last updated
Was this helpful?
ChatGpt in GHL in less than 10 minutes. Just follow the steps given in the video.
To link WAGHL services with ChatGPT to create a automation or Chat GPT bot using WAGHL services for responding to user queries.
Go to automations in your GHL sub-account and create a new workflow, choosing "From Scratch."
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.
Add an action as WebHook, set the method as POST, and paste the URL provided in the description link.
Add two keys: Chat GPT Assistant ID and Chat GPT API Key, along with their respective values. Ensure the values are correct.
Save the action, name the workflow (e.g., Chat GPT or Chatbot), and save and publish the workflow.
Test the workflow by sending a message to the connected number to receive responses from Chat GPT.
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...
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
chat_gpt_assistant_id
Chatbot assistant id
chat_gpt_api_key
ChatGpt api key
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.
To capture the last ChaGpt response under the contact custom field, create a custom field under 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
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).
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.