Send a value as an md5 or sha1 hash

Ashley Thomas
Ashley Thomas
  • Updated

From time to time you may need to send a hashed (encrypted) value in your delivery. You can specify one of the formats included in the LeadConduit developer instructions:

  • md4
  • md5
  • ripemd
  • ripemd160
  • sha1
  • sha224
  • sha256
  • sha384
  • sha512
  • whirlpool

How to enter the mapping in your delivery step

First, determine the field name you want to transform (encrypt) from the column for the ID field in the Fields tab:

Image

Then prepare the mapping in a text editor. Start with the hash format, sha1 here, and then substitute the raw field ID you learned above for “email” as shown in the following example and surround the whole in double curly brackets:

{{ sha1 lead.email }}

Now that you have prepared the function, you’ll need to put this in the mappings of your delivery step.

  1. Open your flow editor to the Steps tab and click on your delivery step
  2. Click Edit Field Mappings
  3. Click “+” at the end of any mapping to create an empty mapping
  4. Paste the function from your text editor in the left hand entry, and your destination field in the right hand entry. You will only see the field name, and that’s okay! When you send a lead using this delivery, the chosen value will be hashed as requested.

Image

Confirm that your value is hashed

Send a test lead to your flow. To Confirm that your lead is hashed, go to lead->Lead Events (or the Home dashboard) and display your test lead. Select the delivery step on the left and expand the Technical Details. You should see the hashed value there as in this lead.

Image

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.