Skip to main content
Best answer

Text to Line-Item not working as expected


Forum|alt.badge.img

I’m trying to parse out a “raw body” response to line items from a catch raw webhook step. 


In the “test” view it looks like the output is correct (I’m looking for the 9 -“pulseid”):

 

However, when I go to the next step the output is still formatted as the “raw body”:

Would appreciate any help!

Best answer by Troy TessaloneBest answer by Troy Tessalone

Hi @erusso 

Perhaps try these options:

 

Formatter > Text > Split

Use 2 to isolate the desired value.

 

Formatter > Text > Extract Pattern

Ask ChatGPT for help configuring the regex.

View original
Did this topic help you find an answer to your question?

3 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31058 replies
  • Answer
  • January 30, 2024

Hi @erusso 

Perhaps try these options:

 

Formatter > Text > Split

Use 2 to isolate the desired value.

 

Formatter > Text > Extract Pattern

Ask ChatGPT for help configuring the regex.


Forum|alt.badge.img
  • Author
  • Beginner
  • 17 replies
  • January 31, 2024

Thanks, Troy! That worked :) 


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6423 replies
  • February 1, 2024

That’s awesome @erusso! Big thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗