Gainsight Communities
Import Gainsight Customer Communities members, topics, replies and accepted answers through API client credentials.
Gainsight records
Gainsight Customer Communities, formerly inSided, supplies every member, including people who have never posted. It supplies conversations, questions, articles, ideas and product updates, with their replies. Questions also include their accepted answers.
Gainsight’s API does not report email confirmation. Datum uses these unverified addresses for matching, without linking accounts on email alone.
Datum also keeps single sign-on IDs. These IDs link accounts across communities only when the connections share the identity provider setting described below.
Connect Gainsight Communities
Create API credentials
Open Control → Integrations → API in your community’s control panel. Create a client ID and secret. Record the API region: Europe (
eu-west-1) or US (us-west-2).Open Sources
Open Sources → Connect a source → Gainsight Communities. Enter your community’s HTTPS address in Community URL. Enter API client ID. Enter API client secret. Set API region.
The default region is
eu-west-1.Add a moderator, for private content
Enter a moderator’s ID in Moderator user ID to include content that only moderators can see.
Without this ID, Datum uses the API’s default access. Each sync warns that it cannot confirm access to private content. Datum always excludes spam, trashed posts, unapproved posts and drafts.
Verify
Press Verify.
A successful result confirms access to both Gainsight APIs. Details show the region, whether sampled members include addresses, and whether the connection specifies a moderator.
A running worker starts the first sync automatically. Datum checks every 15 minutes afterward. Community size and Gainsight’s rate limits determine how long a sync takes.
Add live updates
Gainsight’s webhooks sign in with a username and password rather than a signature.
- Choose a username and password.
- Enter the username in Webhook Basic Auth username on the connection.
- Enter the password in Webhook Basic Auth password.
- Select Webhook URL from the source’s ··· menu on Sources.
- Copy the address.
- Subscribe each Gainsight event with its own callback URL.
- Append
?event=and the event name to each callback address, for example?event=question.Replied. - Use the same username and password for every subscription.
You can also store the credentials later. Run ocmgr connection update <connectionId> --secret webhookUsername=<name> --secret webhookSecret=<password>.
Subscribe only to the following events:
conversation.Startedquestion.Askedidea.Submittedarticle.Createdandarticle.PublishedproductUpdate.CreatedandproductUpdate.Published- The five
.Repliedevents for those topic families question.AnsweredIdentityAccess.UserRegisteredintegration.UserProfileUpdated
Datum records other events as failures in the intake log. It does not map them.
Data Datum imports
| Members | Every member: community username as their handle, display name when there is one, avatar, profile link, unverified email and sign-in id |
| Activity | New topics in all five families, replies, and accepted answers, with their original times, authors and links back to the community |
| Not collected | Post text, signatures, IP addresses and other profile fields |
A synced accepted answer uses the reply’s time because the API provides no acceptance time. A question.Answered webhook records the actual acceptance time. Datum excludes likes, votes, removed answers, moderation and group changes.
From your terminal or agent
ocmgr connection create --kind gainsight-cc \
--config '{"baseUrl":"https://community.example.com","region":"eu-west-1","moderatorId":"99"}' \
--secret clientId=<id> --secret clientSecret=<secret> --json
ocmgr connection verify <connectionId> --json
ocmgr ingest <connectionId> --pages 10 --json{ "name": "create_connection", "arguments": { "kind": "gainsight-cc",
"config": { "baseUrl": "https://community.example.com", "region": "eu-west-1" },
"credentials": { "clientId": "…", "clientSecret": "…" } } }
{ "name": "verify_connection", "arguments": { "id": "<connectionId>" } }Set the same idp value through the terminal on connections that share an identity provider. Datum can then link accounts through their sign-in IDs.
FAQ
Why don't member names match their usernames?
Datum uses the Gainsight username as the handle. It uses a name only when Gainsight supplies a display name. It never copies the username into the name.
A sync failed on one very busy day.
Gainsight’s API returns at most 10,000 topics per day. The sync stops if a day exceeds this limit, because the API cannot return all topics. Use a Gainsight export for that day.
Can I change the region or community later?
No. The region and community determine which IDs the connection reads. Create a new connection for a different region or community.