0.1.0 • Published 6 years ago

leadconduit-migration-tool v0.1.0

Weekly downloads
27
License
ISC
Repository
-
Last release
6 years ago

migration-tool

A flow migration tool for LeadConduit.

This version is hardcoded to migrate from WhitePages's deprecated address_validation endpoint to global_address_validation.

It will find all the flows in an account that use address_validation, and change their integration steps, mappings, and rules. It asks, for each flow it finds, if you're sure you want to update that one.

The tool also writes the original and updated flows to './<flow.id>.before.json' and './<flow.id>.after.json', respectively.

Though it updates flows, note that it does currently not "deploy" them. That must be done separately, via API or UI.

To use:

  1. install via clone of this repo, or npm install leadconduit-migration-tool
  2. set and export your ActiveProspect API key as $AP_STAGING
  3. to run against production instead of staging, set the value of getUrl in the script to https://X:${process.env.AP_STAGING}@next.leadconduit.com/flows (and, possibly, change your API key environment variable, if it's different between staging and production).
  4. run node bin/migrate.js.
0.1.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago