项目作者: robhaswell

项目描述 :
Tag contacts in Intercom by email
高级语言: JavaScript
项目地址: git://github.com/robhaswell/intercom-tag.git
创建时间: 2017-10-31T09:14:00Z
项目社区:https://github.com/robhaswell/intercom-tag

开源协议:Apache License 2.0

下载


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:

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

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

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