Skip to content

Commit ad59a7e

Browse files
author
Chris Brown
committed
Finalize the documentation for the DevRev integration
1 parent 329bfc0 commit ad59a7e

File tree

1 file changed

+9
-2
lines changed
  • src/connections/destinations/catalog/devrev

1 file changed

+9
-2
lines changed

src/connections/destinations/catalog/devrev/index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ With this destination, you can have website or external events trigger action wi
2323

2424
- When a user requests a demo, create work (ticket or issue) with the details
2525
- When a user fills out a form, create a RevUser (lead) object
26-
- More to come!
26+
- Track user events within DevRev
2727
<!-- The section below explains how to enable and configure the destination. Include any configuration steps not captured below. For example, obtaining an API key from your platform and any configuration steps required to connect to the destination. -->
2828

2929
## Getting started
@@ -34,7 +34,14 @@ With this destination, you can have website or external events trigger action wi
3434
4. Select an existing Source to connect to DevRev (Actions).
3535
5. Give it a name and choose how to configure the destination
3636
6. You can generate an API key from the [DevRev app](https://app.devrev.ai/). Be sure you're in the DevOrg you want the events sent to and then go to Settings (the gear in the top left) -> Account -> New Token
37-
7. The email blacklist is the
37+
7. The email blacklist is the a comma separated list of domains that you want the integration to consisder personal (vs business) email addresses.
38+
39+
### Accounts, Domains, Emails, and the blacklist
40+
41+
By default, the `createRevUser` function will create a new RevUser (Contact) object in DevRev. This contact will be assoicated with an Account as well, based on the following rules:
42+
43+
1. If the email address is a personal email address (defined by having a domain in the domain blacklist), then the Account will be searched for using the email address specifically (aka `[email protected]` would look for an account with external_ref of `[email protected]`)
44+
2. If the email address is a company address (defined by having a domain not in the domain blacklist), then we will look for an account with the company domain. If found, the RevUser will be created attached to this Account. If there is no existing account, a new one will be created with the company domain (aka `[email protected]` would be added under the Account with the domain `company.com`)
3845

3946
<!-- The line below renders a table of connection settings (if applicable), Pre-built Mappings, and available actions. -->
4047

0 commit comments

Comments
 (0)