Best answer

Adding spaces to numbers

  • 27 August 2020
  • 3 replies
  • 220 views

Userlevel 1

I’ve set up a Zap in which a user submits a Wufoo form to create a Zoom meeting and receives an email notification via Office 365 with the meeting details.  Functionally, everything works great.  But when Zapier pulls the Zoom Meeting ID and inserts this into the email, it’s just one long number.  I would like to retrieve this newly generated 11-digit Meeting ID from Zoom and display it in the ### #### #### format Zoom uses.  There’s a lot of ways to combine numbers or remove spaces/commas but I haven’t seen how to add spaces to make a long number easier to read.

Is there any easy way to do this or would I need to use javascript?

icon

Best answer by andywingrave 27 August 2020, 22:25

View original

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

Userlevel 7
Badge +9

My pleasure!

Userlevel 1

Outstanding.  Thank you!

Userlevel 7
Badge +9

Need to use a code step - Luckily it’s super simple:

let number = inputData.number
let data = number.substr(0, 3) + " " + number.substr(3, 4) + " " + number.substr(7,4);

output = [{data}];