Skip to main content
Question

Delete matching values in two arrays with formatter steps only?

  • 19 July 2024
  • 3 replies
  • 13 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

Userlevel 7
Badge +14

Hi @ugu 

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

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

Userlevel 7
Badge +14

@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.