So would nee to add { } for beginning and end, and change = for : , remove || and put “ between each existing words
Is this possible?
Page 1 / 1
Hi @TrendSurfers - This can be done with a JavaScript code step. You can use the code snippet below to parse that input into a readable object. The input text should be mapped to an input field called text.
Thanks, this is out of my league hehe.. i kinda understand the code a bit, but wouldnt know how to make use of it..
Thanks for taking the time tho. Ill see what i i can do with it
Hi @TrendSurfers !
Just in case you’re still working on this, I wanted to show you what this code would look like in practise. @ikbelkirasan ‘s code is spot on - you can simply copy and paste it into a “Run Javascript” Step that is part of the “Code by Zapier” App integration. Here’s what it looks like:
As you can see, we’ve set one Input Data field as “text” to match the code using “text” from the inputData Object.
When we test this Step, it shows us this result:
Is this what you were looking for, or were you wanting a text JSON representation? If you want text instead of the individual values, change the last line of code to this:
output = { result: JSON.stringify(result) }];
When we test the code with that modification, we get:
I hope this helps clarify how you can use this in your Zaps!
Thanks for the assist @TimS :) Super helpful to see the additional breakdown, and with screenshots!