Skip to main content
Question

How do I store value from a loop by creating a line_item?

  • December 19, 2023
  • 1 reply
  • 120 views

Hello everyone.

I’m trying to create a link between shopify and a billing software.

When I’m retrieving the data from the articles included in the shopify order I have to check if the article exist in my billing software, and create it if it doesn’t exists.

When I’m checking for an article, if it exist I get an articleID, and if it doesn’t I create it and get the articleID.

 

In order to check for every articles of the order I first calculated the number of articles in the order using zapier code. And then create a loop to check/create each articles.

 

Now I want to store the result I get from each iteration of the loop and store them in a lime_item.

So I’d like something like that Articledid :[“12345”,”31235”,”747546”].

 

Any idea?

 

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

1 reply

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

Hi @Rigawel 

We would need to see detailed screenshots with how your Zap steps are configured to have full context.