Skip to main content

I’m working with the formatter. Extracted my text from 

“2304-2511-0257” which is “10257”. How come I cannot find any means to transform into “P10257”??? Seems so simple. I’ve tried operators and quotation marks …. no luck

 

Hi there @VinnieB,

Welcome to the Community! 🎉

We can try using “Code by Zapier (Run Javascript)” to achieve this. You can copy and paste this code in the “Code” field:

output = {"formatted_text": "P" + input_data+'text']}

return output

Here’s that in action:

9efcfa62b4ce05ad5b0b4d6acf5e8ac1.gif
(view larger)

In your case, you would want to map the Formatter step output (extracted) to the right column of the “Input Data” field.

Please give that a try, and keep us posted.

Thanks! 😊