Confused about Array Data with Shopify/Coda

I’m trying to create a Coda table that pulls in order information and item information, so that I can generate a PO for our vendors. However, I only want it to activate for certain vendors. I have one router that splits the data up to a few different tasks for when orders come in, then a second “PO Creator” router, which is specifically for this Coda document. The PO Creator router creates one row per line item, pulling the SKU and Vendor information into a Coda Table. Then, it creates a line in the “Orders” table, then it sends me an email to notify me that I have to put in a PO. The problem is that the filter before the PO Creator router only seems to look at the first line item, so if the vendor of the first line item is not the specified vendor, it does not continue the branch.



Welcome to the Make community!

Please provide the output bundles of the Webhook modules as shown in your screenshot by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Thanks! Here is my webhook:
Test Bundle.txt (49.5 KB)