I have a scenario where getting new rows from Sheets and I want to create 1 invoice with all the lines.
Here are the steps in the scenario:
- Sheets new row trigger (brings in 2)
- Search Stripe for customer ID
- Creates invoice items
- Creates invoice
I didn’t include the step to finalize the invoice.
So if I sent two rows of data where row 1 is $10 w/desc Item 1 and row 2 w/desc Item 2 is $20.
When the scenario triggers, everything after the trigger runs twice.
So instead of creating one invoice with two items, it creates two invoices each one has its own item.
I need some help figuring out what modules I’m missing in between.