Trying to run a scenario to download links from my shopify website's blog posts and receiving errors

What are you trying to achieve?

Hello, I am trying to create and run a scenario to download old dead links from my shopify website’s blog posts, but i am receiving some initialization errors along with other errors that state “Invalid reference in parameter ‘id’ of module ‘shopify:GetArticle’: Variable ‘1.link’ references not existing module ‘1’.”

I am new to this and just want to export those links into an excel file, then potentially run another scenario to replace those in all the appropriate blog posts and import them back to the site. I have 70+ posts so it would be very tedious to do this on my own. Can someone help me figure out the correct code or scenario workflow for this? Thanks!

Steps taken so far

I have already tried to create a search article scenario, but it has not worked with anything i have tried.
Here is my article ID: {{if(contains(1.link; “https://www.thermoworks.com”) | contains(1.link; “https://amzn.to”) | contains(1.link; “HOOKSRUB”); addRows(4; { + “link” + : + 1.link}); null)}}

Not even sure if this will work. I used the Ai tool to create this article ID.

Hey there,

the error means you are mapping a variable called “link” from module 1, when there is no module number 1 in the flow. Check what the correct module number is and replace it.

Thank you but I do not know how to find the correct module. How would I go about that?

@hooksrub It would be helpful if you can post the screenshot and blueprint of your scenario here

1 Like


Hey @jeff_nguyen Here attached is the image. Thanks for any help you can provide.

@hooksrub A few things you can do:

  1. Check if the module ‘1’ is available. Your scenario is complaining that module ‘1’ doesn’t exist
  2. Isolate those conditionals in the ‘if’ into a filter
  3. Use a google sheet AddRow module to add your link

You can also export the blueprint and post here so I can understand your scenario better and give more help. Just click the 3 dots at the bottom of the screen as below: