Best answer

Use Zapier to open a link that triggers automation for Shopify App (AirPower)

  • 16 March 2022
  • 2 replies
  • 122 views

Userlevel 1

WHAT I AM TRYING TO DO...
I am using Shopify, Airtable, and a Shopify app called “Airpower” to do a 2-way auto-sync with my Airtable base and Shopify pages. I’m also using Google Sheets and a tun of Zaps to generated content for these pages and update that content on Airtables. I then have a 2 hour delay to allow the AirPower app to update or create new pages in Shopify and then pull the new Shopify URL back to Airtable where I can use Zapier to pull the data back to my Google sheet. A true No-Code-Cowboy here. :cowboy: 

MY PROBLEM…
AirPower claims to a sync every hour but seems to be much more sporadic.  Even with a 2 hour delay, sometimes my Zap will continue before the Shopify page is created and I am not able to get the URL or ID data back into the zap workflow. Bumping the delay up to 3 hours could work but would increases the chances of content changes being made that would get overwritten or updates getting lost.

 Airpower provides a manual Airtable-to-Shopify sync by opening a “specific link” that they provide in a browser. This sounded a lot like a “webhook” so I have spent the last few days trying to open that link using Webhooks by Zapier, first through videos and tutorials, then brute force by trying every possible get, push, pull option. 

There no other information on the Airpower website about this “specific link” and I’m not even sure if it is a “webhook”.  To use the link to trigger a sync, all I have to do is past it in the browser and gives me this message and I can see the Airpower to Shopify sync begins. 

 {"message":"Sync queued up"}

 

My Questions…

  1. Is the link above a “webhook” and should I be able to use Zapier webhooks to open it?
  2. If it is a webhook, what type of action do I need to preform to trigger Airpowers “specific link” sync?
  3. If webhooks are not the answer, what are other no-code options to get Zapier to open a link link this?
  4. If it is not possible in a no-code way, what would I ask a Real-Code developer to create in order to get this sync to work?

Thanks!

icon

Best answer by SamB 18 March 2022, 12:29

View original

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

2 replies

Userlevel 7
Badge +11

Welcome to the Community, @MoCAP Online!

Hmm, I remember using a Webhooks by Zapier step in the past to get the URL that a link was redirected to. So I’m thinking you could potentially use the same approach for this. The setup of the webhook is super quick. All you’d need to do is select the GET action event and enter the URL you want the Zap to visit. You wouldn’t need to bother with any query string parameters, auth or headers.

For example if I wanted the Zap to visit this page in Community I’d set up the webhook step like so: 

d862b1e600e3b5f7aafc4ff93228b208.png
That would then return a response that includes the source code for the page that the Zap visited: 
b97708546db2d8bf493c7a41806559bd.png
I’m thinking that the action of the Zap visiting the page should (hopefully!) be enough to then trigger the Airpower sync.

Can you give that a try and let me know if that does the trick?

Userlevel 1

YES!!!  It worked!!! 
Thank you!