Skip to content

robhaswell/intercom-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intercom-tag

Tag contacts in Intercom by email.

This is a small program which takes a CSV of email addresses tags all users in Intercom that match those email addresses. This is useful when you have multiple users with the same email address and do not know their user IDs, e.g. for mailshots.

Usage

  1. Install:

    $ npm i
  2. Generate an Intercom access token and set the environment variable INTERCOM_TOKEN:

    $ export INTERCOM_TOKEN=...
  3. Run the program:

    node app.js --file /path/to/emails.csv --tag 'Tag one' --tag 'Tag two'