Commit graph

12 commits

Author SHA1 Message Date
Matt Lott
b8dd0f0a45 Filter out low priority sales leads on initial import 2016-05-12 11:03:35 -07:00
Matt Lott
deb4117a9c Add Close.io NCES lead data to custom fields 2016-05-11 10:21:56 -07:00
Matt Lott
884b1e6a4a 2nd automatic email follow up on Close.io imported leads
async.parallel needs better error handling before we can use it on
current lead quantities, and would improve performance drastically.
2016-05-03 15:52:56 -07:00
Matt Lott
49c1dd8cf7 Update lead status values for Close.io inbound inserts 2016-04-26 10:31:12 -07:00
Matt Lott
1feb8a26a4 Add duplicate mail checks to updateCloseIoLeads.js
Fetching leads by name via Close.io API is not reliable.  Adding two
checks to protect against sending duplicate emails:
1. Query leads via recipient email to avoid creating duplicate leads.
Duplicate leads can result in duplicate automatic emails sent.
2. Lookup lead email activity when sending mails, and compare email
templates and recipient address.
2016-04-23 16:47:10 -07:00
Matt Lott
8f16f5f487 🐛Fix Close.io lead query by name 2016-04-22 10:23:40 -07:00
Matt Lott
cd7ec7f8dd Send email when adding contacts to Close.io leads 2016-04-07 21:23:42 -07:00
Matt Lott
69b999866e 🐛Ignore parse error in updateCloseIoLeads.js 2016-04-04 18:37:04 -07:00
Matt Lott
918915813f Rewrite updateCloseIoLeads.js
Moving user-specific information from customized fields to activity
notes
Lots of data reformatting and renaming
Lots of perf/readability improvements via async.parallel
2016-03-31 09:23:38 -07:00
Matt Lott
4e0ee60dce Use trial request name for Close.io leads 2016-03-15 09:25:36 -07:00
Matt Lott
57e8e61b1c 🐛Fix update sales leads script URL encoding 2016-03-14 14:24:18 -07:00
Matt Lott
97f7026a4f Update Close.io sales lead creation
Moving lead upserting to background script
2016-03-14 09:35:57 -07:00