Tag contacts in Intercom by email
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.
Install:
$ npm i
`
Generate an Intercom access token and set the environment variable INTERCOM_TOKEN
:
$ export INTERCOM_TOKEN=...
Run the program:
node app.js --file /path/to/emails.csv --tag 'Tag one' --tag 'Tag two'