- Introduction
- Setting up your account
- Balance
- Clusters
- Concept drift
- Coverage
- Datasets
- General fields
- Labels (predictions, confidence levels, label hierarchy, and label sentiment)
- Models
- Streams
- Model Rating
- Projects
- Precision
- Recall
- Annotated and unannotated messages
- Extraction Fields
- Sources
- Taxonomies
- Training
- True and false positive and negative predictions
- Validation
- Messages
- Access control and administration
- Manage sources and datasets
- Understanding the data structure and permissions
- Creating or deleting a data source in the GUI
- Uploading a CSV file into a source
- Preparing data for .CSV upload
- Creating a dataset
- Multilingual sources and datasets
- Enabling sentiment on a dataset
- Amending dataset settings
- Deleting a message
- Deleting a dataset
- Exporting a dataset
- Using Exchange integrations
- Model training and maintenance
- Understanding labels, general fields, and metadata
- Label hierarchy and best practices
- Comparing analytics and automation use cases
- Turning your objectives into labels
- Overview of the model training process
- Generative Annotation
- Dastaset status
- Model training and annotating best practice
- Training with label sentiment analysis enabled
- Training chat and calls data
- Understanding data requirements
- Train
- Introduction to Refine
- Precision and recall explained
- Precision and Recall
- How validation works
- Understanding and improving model performance
- Reasons for label low average precision
- Training using Check label and Missed label
- Training using Teach label (Refine)
- Training using Search (Refine)
- Understanding and increasing coverage
- Improving Balance and using Rebalance
- When to stop training your model
- Using general fields
- Generative extraction
- Using analytics and monitoring
- Automations and Communications Mining™
- Developer
- Uploading data
- Downloading data
- Exchange integration
- Salesforce integration
- Exchange Integration with Azure service user
- Exchange Integration with Azure Application Authentication
- Exchange Integration with Azure Application Authentication and Graph
- Fetching data for Tableau with Python
- Elasticsearch integration
- General field extraction
- Self-hosted Exchange integration
- UiPath® Automation Framework
- UiPath® official activities
- How machines learn to understand words: a guide to embeddings in NLP
- Prompt-based learning with Transformers
- Efficient Transformers II: knowledge distillation & fine-tuning
- Efficient Transformers I: attention mechanisms
- Deep hierarchical unsupervised intent modelling: getting value without training data
- Fixing annotating bias with Communications Mining™
- Active learning: better ML models in less time
- It's all in the numbers - assessing model performance with metrics
- Why model validation is important
- Comparing Communications Mining™ and Google AutoML for conversational data intelligence
- Licensing
- FAQs and more

Communications Mining user guide
The Communications Mining™ Salesforce Integration provides a convenient and easy-to-setup way to sync your Salesforce communications data into Communications Mining in real time. The integration is capable of syncing emails and other communications data.
The Salesforce Integration is a managed pipeline running on the Communications Mining™ cloud that can be configured to extract pieces of communications data from Salesforce objects without any development needed.
Once the integration is configured it will continuously poll for the configured objects and fields in Salesforce, clean them, enrich them with object metadata and convert them to Communications Mining comment objects. The Communications Mining comments will be available on the web interface and from the API to any user with the right access.
Access to Salesforce data via the Salesforce Integration is managed through Salesforce Connected Apps and authenticated with OAuth2, giving you full control of when and how much you give Communications Mining access to your data.
In order to provide Communications Mining™ access to your Salesforce instance, a Salesforce administrator will need to create a Connected App.
It's worth familiarizing yourself with the concepts of Connected Apps, but to set up the Communications Mining Salesforce Integration the following steps should be sufficient. These steps should be completed using the same account that the Connected App will be authenticated with.
INTEGRATION USER
Any Salesforce user with the right access to the data you'd provide to Communications Mining can be used to authenticate the integration. In general, it's recommended to use a dedicated integration user for this so that the Salesforce Integration is not tied to a specific person's account. For more details on the Salesforce recommendations on this topic, check The Value of Having A Dedicated Salesforce Integration User.
- In your Salesforce Setup, under Apps, select App Manager and select New Connected App.
Create a new Connected App in Salesforce
- Follow the guidance from Salesforce and fill in the required information, such as App Name, API Name and Contact Email. The following is an example:
Example required information
- Select the checkbox Enable OAuth2 Settings, this will open up a new section of options.
-
Make sure that the application does not require Proof Key for Code Exchange (PKCE).
-
- Under Callback URL, insert the following line, replacing
<mydomain>
with your tenant domain:https://<mydomain>.reinfer.io/external/salesforce/oauth2/callback
. - The following scopes are required for the Salesforce Integration to work. Add them to Selected OAuth2 Scopes.
OAUTH2 SCOPES Manage user data via APIs (api) Perform requests on your behalf at any time (refresh_token, offline_access) The required OAuth2 settings for the Connected App - You do not need to change any of the other settings. Select Save at the bottom of the page to create the Connected App.
- Take note of the Consumer Key and Consumer Secret of the Connected App you just created. You will need to send them to us to set up the integration.
Consumer Key and Consumer Secret
Setup
The Salesforce Integration will be set up by a Communications Mining™ engineer using the information you provide. Contact your account team to connect with an engineer.
Once you created the Connected App, provide your Communications Mining engineer the following details.
NAME | DESCRIPTION |
---|---|
Consumer Key | A long string of letters and numbers, found on the page for the Connected App |
Consumer Secret | A long string of letters and numbers, found on the page for the Connected App |
Instance URL | Your Salesforce instance URL, e.g. um6.salesforce.com . For more details on how to find it, check the Salesforce documentation.
|
Salesforce Objects
The Salesforce Integration can be configured to poll for any of your standard or custom Salesforce objects. For each object you would like to sync into Communications Mining, provide the Salesforce API names of the objects and its fields.
Permissions
Please ensure that the user used to authenticate the integration has "Read" and "View All" access to the objects and "Read" access to the fields you would like to sync into Communications Mining.
OAuth2 Authentication
The integration needs to be authenticated to get access to your Salesforce data. This is done through OAuth2 with an authorized Salesforce account. You should authenticate the integration using the same account that was used to set up the Connected App.
- Navigate to the authentication URL that we provided. It will look like this:
https://<mydomain>.reinfer.io/integrations/<project-name>/<integration-name>/oauth2/authenticate
https://<mydomain>.reinfer.io/integrations/<project-name>/<integration-name>/oauth2/authenticatewhere<mydomain>
is your tenant domain, and<project-name>/<integration-name>
are the project and name of your Salesforce Integration. - You will be automatically redirected to a Salesforce login page. Log in with the Salesforce account that will provide access
to the integration. The browser will redirect to a confirmation page.
Salesforce OAuth2 Login Page
- On the confirmation page, approve the requested permissions.
Salesforce OAuth2 Confirmation Page
- Once done, you should be redirected back to
https://<my_tenant>.reinfer.io
with a notification indicating the integration was configured successfully.