-
Notifications
You must be signed in to change notification settings - Fork 18
Docs: Adds conversation provider documentation #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
# Conversation Providers | ||
|
||
HighLevel provides conversation providers in marketplace applications for creating custom SMS, Email, and Call providers. | ||
|
||
## Setting up Custom Providers | ||
|
||
### Create a Marketplace Application | ||
|
||
First you'll need to create a marketplace application: | ||
|
||
1. Navigate to https://marketplace.gohighlevel.com | ||
2. Go to the Auth section | ||
3. Add your scopes (see notes below) | ||
4. Add redirect, client keys, then click save | ||
|
||
### Scopes | ||
|
||
Below are the various scopes necessary to use custom conversation providers. Review all scope documentation here: https://marketplace.gohighlevel.com/docs/oauth/Scopes | ||
|
||
Required Messaging APIs: | ||
|
||
conversations/message.write | ||
Purpose: Conversations Provider Outbound Message Webhook Events, Adding inbound messages. Add external outbound call logs. Upload attachments to conversations. Update message statuses. | ||
|
||
conversations.readonly | ||
Purpose: Query conversations APIs | ||
|
||
conversations.write | ||
Purpose: Create/Update/Delete conversation. One conversationId is maintained per contact. | ||
|
||
contacts.readonly | ||
contacts.write | ||
Purpose: Create/Update contacts | ||
|
||
Optional Messaging APIs: | ||
conversations/message.readonly | ||
-Recordings/Transcriptions and Outbound Message Webhook Event | ||
|
||
### Conversation Provider Configuration | ||
|
||
After you create your provider you will have an "ID" which is the "conversationProviderId". | ||
|
||
#### SMS Provider (default) | ||
|
||
Description: This enables a SMS provider to replace the default twilio/LC-Phone provider. | ||
|
||
1. Enter a Name | ||
2. Type: SMS | ||
3. Delivery URL - Sends webhook events to the Conversation Provider Outbound Webhook | ||
|
||
<b>NOTE:</b> Do not checkbox "Is this a Custom Conversation Provider" | ||
|
||
Add Inbound Message API: Use type "SMS". "conversationProviderId" <b>is not required</b>. | ||
https://marketplace.gohighlevel.com/docs/ghl/conversations/add-an-inbound-message | ||
|
||
Enable The Provider: Navigate to the sub-accounts Settings > Phone Numbers > Advanced Settings > SMS Provider. Click your provider and then click save to save it. | ||
|
||
Workflows: Supports standard SMS modules. | ||
|
||
Bulk Actions: Supported | ||
|
||
#### SMS Provider (extra) | ||
|
||
Description: This adds an additional SMS custom conversation provider. | ||
|
||
1. Enter a Name | ||
2. Type: SMS | ||
3. Delivery URL - Sends webhook events to the Conversation Provider Outbound Webhook | ||
4. Checkbox "Is this a Custom Conversation Provider" | ||
5. Conversations Tab - Optional - Checkbox "Always show this Conversation Provider" - If you want a tab in the conversations window to respond on the provider. | ||
6. Alias - Optional - Changes the name of the provider in the conversations tab | ||
7. Logo - Optional | ||
|
||
Add Inbound Message API: Use type "SMS". "conversationProviderId" <b>is required</b>. | ||
https://marketplace.gohighlevel.com/docs/ghl/conversations/add-an-inbound-message | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update the status to Outbound message delivery status once its processed on your end. |
||
Enable The Provider: Enabled upon installation. Visit Settings > Conversation Providers to review installed providers. | ||
|
||
Workflows: You can build premium workflow actions in your marketplace application. SMS module is not currently supported. | ||
|
||
#### Email Provider (default) | ||
|
||
Description: This enables an Email provider to replace the default mailgun/LC-Email provider. | ||
|
||
1. Enter a Name | ||
2. Type: Email | ||
3. Delivery URL - Sends webhook events to the Conversation Provider Outbound Webhook | ||
|
||
<b>NOTE:</b> Do not checkbox "Is this a Custom Conversation Provider" | ||
|
||
Add Inbound Message API: Use type "Email". "emailMessageId" in the response is the thread to respond to. "conversationProviderId" <b>is not required</b>. | ||
https://marketplace.gohighlevel.com/docs/ghl/conversations/add-an-inbound-message | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update the status to Outbound message delivery status once its processed on your end. |
||
Enable The Provider: Navigate to the sub-accounts Settings > Email Services > Click your provider and then click save to save it. | ||
|
||
Workflows: Supports standard Email modules. Triggers are unsupported currently. Use premium workflow actions. | ||
|
||
Bulk Actions: Supported | ||
|
||
#### Email Provider (extra) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Custom provider |
||
|
||
Description: This adds an additional Email custom conversation provider. | ||
|
||
1. Enter a Name | ||
2. Type: Email | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Type: Email/SMS, depending on the need |
||
3. Delivery URL - Sends webhook events to the Conversation Provider Outbound Webhook | ||
4. Checkbox "Is this a Custom Conversation Provider" | ||
5. Conversations Tab - Optional - Checkbox "Always show this Conversation Provider" - If you want a tab in the conversations window to respond on the provider. | ||
6. Alias - Optional - Changes the name of the provider in the conversations tab | ||
7. Logo - Optional | ||
|
||
Add Inbound Message API: Use type "Custom". You can also set "altId". When you reply in the UI the conversation provider outbound payload will add "replyToAltId". "conversationProviderId" <b>is required</b>. | ||
https://marketplace.gohighlevel.com/docs/ghl/conversations/add-an-inbound-message | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update the status to Outbound message delivery status once its processed on your end. |
||
Enable The Provider: Enabled upon installation. Visit Settings > Conversation Providers to review installed providers. | ||
|
||
Workflows: You can build premium workflow actions in your marketplace application. Triggers and Email modules are unsupported currently. | ||
|
||
#### Call Provider | ||
|
||
Description: This adds a call provider. It is specifically for adding call logs and can also add attachments like voicemails to a conversation. It is not used to replace the voice/SIP connection. | ||
|
||
1. Enter a Name | ||
2. Type: Call | ||
3. Delivery URL - Sends webhook events to the Conversation Provider Outbound Webhook | ||
|
||
Add Inbound Message API: Use type "Call". Supply the call object payload and ensure the "from" phone matches an existing contact. Used for adding inbound call logs. "conversationProviderId" <b>is required</b>. | ||
https://marketplace.gohighlevel.com/docs/ghl/conversations/add-an-inbound-message | ||
|
||
Add an External Outbound Call API: Used to add outbound direction logs. Ensure the "to" phone number matches an existing contact. | ||
https://marketplace.gohighlevel.com/docs/ghl/conversations/add-an-outbound-message | ||
|
||
### Webhook Events | ||
|
||
Conversations Provider Outbound Message Webhook Events | ||
https://marketplace.gohighlevel.com/docs/webhook/ProviderOutboundMessage | ||
|
||
Purpose: Outbound events that are distinct from the Outbound Message Event payload. | ||
|
||
Outbound Message Events | ||
https://marketplace.gohighlevel.com/docs/webhook/OutboundMessage | ||
|
||
Purpose: Monitors all outbound messages/channels | ||
|
||
## Additional Notes | ||
|
||
### Using Providers | ||
|
||
1. Conversations Screen - Navigate to the conversations screen to send/receive messages if a provider is set as the default or if you have enabled the ability to see the provider. | ||
|
||
2. Bulk Actions - Only supported on default providers at this time. | ||
|
||
3. Workflows - Review notes on currently supported modules. | ||
|
||
4. Mobile Application - Select your custom provider depending on type. | ||
|
||
### Update Message Status API | ||
|
||
Message status updates are only able to be updated by the conversation provider marketplace application tokens. If you have additional marketplace applications installed in your account then they cannot update the message status. | ||
https://marketplace.gohighlevel.com/docs/ghl/conversations/update-message-status |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HighLevel allows creation of conversation providers in marketplace applications for different channels(SMS, Email, Call, Custom)