Skip to main content
Best answer

Find and match one object value from Webhook and get another object value for next step

  • May 2, 2022
  • 4 replies
  • 170 views

Hello,

I am trying to get value from a webhook. Any help would be appreciated!

Situation:
Country code gets submitted from WooCommerce (US,GB,CA, etc) - Then I have list like this from a 3rd party service:

 



I need matching id # to the country code so I can use it in later steps. 

So based on iso-31661-a2 (which I get from step 1) I want to get id.

So if iso-3166-1a2 = AT, id is 2. How can I get ids by having iso-3166-1-a2 (country code) value?


Thank you!

Best answer by Troy Tessalone

@dgeg 

Perhaps this help topic will be of use:

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • May 2, 2022

Hi @dgeg 

Good question.

Check out this related topic:

 


  • Author
  • New
  • May 3, 2022

Hey @Troy Tessalone , 

Thanks for the link. That method is quite useful, but it can only filter items that I have value for already. I can’t find a value of another property based on it (which is my main challenge)

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • May 3, 2022

@dgeg 

Perhaps this help topic will be of use:

 


  • Author
  • New
  • May 3, 2022

@Troy Tessalone  

That did the trick! Thank you!