Skip to main content
Best answer

Convert 9 digit numerical value to Md5 HASH

  • December 7, 2021
  • 3 replies
  • 1062 views

Hello fellow Zapiers.

Need help in converting a 9 digit numeric value to MD5 HAsh to use in the follow-up steps.

 

I have tried almost all formatting options but could not find any options for it.

 

Any help will be much appreciated.

Best answer by Troy Tessalone

Hi @Armen 

You’d have to use a Code step: https://zapier.com/apps/code/help

 

CONFIG

 

RESULTS

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • December 7, 2021

Hi @Armen 

You’d have to use a Code step: https://zapier.com/apps/code/help

 

CONFIG

 

RESULTS

 


  • Author
  • Beginner
  • December 8, 2021

thank you for that that was what I was looking for. 

 

much appreciated.

 


  • Author
  • Beginner
  • December 11, 2021

I just want to post the actual code here for others to copy and paste.

let crypto = require('crypto');
let Digits = inputData.Digits;
let Hash = crypto.createHash('md5').update(Digits).digest('hex');
output = [{Digits, Hash}];

 

Thank you again Troy.