Skip to content

Vitally ​

Vitally is a customer success platform that brings together account health, conversations, notes, tasks, projects, and NPS data for B2B customer teams.

Bruin supports Vitally as a source for Ingestr assets, and you can use it to ingest customer success data into your data platform.

Configuration ​

Step 1: Add a connection to the .bruin.yml file ​

yaml
connections:
    vitally:
        - name: "vitally"
          api_key: "sk_live_..."
          subdomain: "acme"

For a workspace hosted in the EU:

yaml
connections:
    vitally:
        - name: "vitally"
          api_key: "sk_live_..."
          region: "eu"
  • api_key (required): A Vitally REST API key. A read-only key is enough.
  • subdomain (optional): Your Vitally subdomain, the acme in https://acme.vitally.io. Required for the us region.
  • region (optional): Where your workspace is hosted, us or eu. Defaults to us.

To create an API key, open Settings in Vitally, select Integrations under Connectors, choose Vitally REST API, turn the integration on, and create a key with the Read-only access level.

Step 2: Create an asset file for data ingestion ​

Create a YAML file (e.g. vitally_ingestion.yml) inside the assets folder:

yaml
name: public.vitally_accounts
type: ingestr

parameters:
  source_connection: vitally
  source_table: 'accounts'

  destination: postgres
  • name: The name of the asset.
  • type: Set to ingestr.
  • source_connection: The name of the Vitally connection defined in .bruin.yml.
  • source_table: One of the tables below.
  • destination: The destination platform/type, for example postgres.

Step 3: Run asset to ingest data ​

bash
bruin run assets/vitally_ingestion.yml

Available Source Tables ​

TablePrimary KeyIncremental KeyIncremental StrategyDetails
accountsidupdatedAtmergeActive and churned accounts
organizationsidupdatedAtmergeOrganizations, the parent of accounts
usersidupdatedAtmergeUsers linked to a tracked account or organization
conversationsidupdatedAtmergeConversations, without their messages
notesidupdatedAtmergeNotes, including deleted ones (archivedAt is set)
tasksidupdatedAtmergeTasks, including deleted ones
projectsidupdatedAtmergeProjects, including deleted ones
meetingsidupdatedAtmergeMeetings, including deleted ones
nps_responsesidupdatedAtmergeNPS survey responses for accounts and organizations
custom_object_instancesidupdatedAtmergeInstances of every custom object, with customObjectId naming their custom object
custom_objectsid-replaceCustom object definitions
adminsid-replaceVitally team members
note_categoriesid-replaceNote categories
custom_fields--replaceCustom field definitions for every model

Incremental behavior and limitations ​

  • Vitally doesn't report hard-deleted accounts, organizations, or users, so rows deleted in Vitally stay in the destination.
  • The users table only has users linked to a tracked account or organization.
  • Conversation messages can't be listed through the Vitally API, so they aren't available as a table.