Webhook URLs may be different based on the WhatsApp Gateway you are using.
To identify the correct webhook URL for your GHL sub-accounts, switch to the subaccount and go to Settings - Phone Numbers - Advanced Settings
Option 1. If you are using WhatsApp Gateway then you need to use the below URL
https://trigger.apimerger.com/chatgpt-assistant
Option 2. If you are using WhatsApp Gateway 1 then you need to use the below URL
chat_gpt_assistant_id: Your chatbot assistant id
chat_gpt_api_key: Your ChatGpt api key Capturing the last response under the Custom Contact Field
To capture the last ChaGpt response under the custom field of the contact, you need to 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
Under group select Contact and click on Save
