Comparing a unique identifier in two arrays

Hi there, relatively new to make.com but I love it so far.

I have been struggling with this scenario.

I have a scenario that pulls in all the blogs I have in a wix blog app via a HTTP module and then puts it into airtable. I would like to be able to have it

  1. compare the postIds and update the respective airtable records if the editedDate between the two modules is different.
  2. Create a new record if the postId doesn’t exist

Thank you!


Welcome to the Make community!

You’ve haven’t shown us how your scenario looks like, and also providing the Output bundle exports (instead of screenshots), will help us reproduce that in the scenario editor, and help us take screenshots of the solution.

If you need further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.


(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the trigger/iterator/aggregator modules 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.

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

Uploading them here will look like this:

module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code 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.

Following these steps will allow others to assist you here. Thanks!
samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

Hi @beepbodeep, I set up the same scenario you have just using the google sheets to get the data that I will use in the scenario.

  1. Search for the post id in your airtable which you are doing already.

  2. Create filter one which will create a record if no postid is found meaning that it does not exist in the airtable base


    v

  3. Update the record if a record is found and the date edited in your api call is greater than the last modified time in the airtable base


    image