Skip to main content
Question

Delete matching values in two arrays with formatter steps only?

  • July 19, 2024
  • 3 replies
  • 16 views

Without using any code steps can I take two line items of data 2556, 2820, 2100 and 2556, 2820, 2325 and then delete matching values between the two leaving only 2100 and 2325

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

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 19, 2024

Hi @ugu 

I think a Code step would be needed for that type of logic.


  • Author
  • New
  • July 19, 2024

Hi @ugu 

I think a Code step would be needed for that type of logic.

could you suggest what code I could use? I tried the replace formatter but for some reason it does not accept an array into the find part


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 19, 2024

@ugu 

The Code step has AI to help generate the custom code.

https://help.zapier.com/hc/en-us/articles/15666688064013-Generate-a-Code-step-using-AI-Beta

 

Also, you can ask ChatGPT for the custom code to use in a Zap Code step.