Integration
- To set up Solve Email 2.0 for Intercom, you need to connect Intercom with Forethought through the integrations page. You can do this by navigating to Settings > Integrations.
Intercom Deployment
Authentication
Each Intercom workspace has its own access token, which Forethought uses to access data via the API. Follow these steps to update the token's permissions:
- Navigate to Settings and select Developer Hub from the options.
- From the list of available apps and workspaces, choose the one where you'd like to add the webhook.
- A new window will appear showing basic information about the workspace (e.g., app name and description). From the left sidebar, select Authentication.
- On the Authentication page, click Edit and enable the following permissions under the People and conversation data section:
- Read and write users
- Read conversations
- Write conversations
- Read tags
- Write tags
- Write data attributes
- Read counts
Webhook
The webhook for Solve Email 2.0 is the same as the one used for OneChat conversations. If you already have OneChat for Intercom configured, no new webhook setup is needed; only the topics listed below must be added.
Add a new webhook
- In the left sidebar, select Webhooks.
- On the Webhooks page, click Edit and update the Endpoint URL field with: https://app.forethought.ai/intercom/webhook
- Add the following topics in the Topics section:
conversation.user.created
conversation.user.replied
Regenerate Token
Important: Skip this section if no changes were made to the permissions in the Authentication step.
Once the Authentication and Webhook configurations are complete:
1. Select Test and Publish from the sidebar.
2. Click Regenerate Token to apply the updated permissions. A new token has been created. This token needs to be updated on Forethought’s credentials side.
Create and customize an email response
After successfully integrating your Intercom instance with Forethought, you can now create and customize email responses in your Forethought dashboard. To learn how to create and customize an email response, please refer to the following articles:
- How to create a response in Solve Email?
- How to add text to an email response in Solve Email?
- How to add buttons to an email response in Solve Email?
- How to add images to an email response in Solve Email?
- How to add feedback to an email response in Solve Email?
- Solve Email supports HTML and CSS (Beta)
- How to add static articles to an email response in Solve Email?
- How to add a dynamic article to an email response in Solve Email?
- How to add a response to Solve Email Journey Map?
- How to preview email responses in Solve Email?
Publish your workflow
Default Context Variables
- Some default Context Variables will be defined and can be utilized as input in actions, conditions, or responses right away.
- $First Name: Inferred based on the $Full Name. It’s mapped from the first word of $Full Name
- $Full Name: Name of the Intercom user requesting the ticket
- $Email: Email of the user requesting the ticket
- $Ticket Tags: Intercom tags associated with the tickets
- $Ticket ID: ID of the incoming tickets
Mapping Custom Fields to Context Variables
In the context variable configuration interface, we can now map Intercom custom fields to context variables as follows: