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
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
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:
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! 😊
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.