Notion Database to Google Sheets help (First Automation)

Hey guys, I’m trying to create my first scenario and I’m running into issues. I have a database in Notion and I just want the automation to update a spreadsheet anytime I add a row in notion.

I’m getting a BundleValidationError on step 2 and I’m not sure why. Notion’s output seems to be providing all the correct data. I’ve attached screenshots below, any help would be appreciated.


Edit:
Additional Info suggested by @samliew
Module Screenshots:


Blueprint:
blueprint.json (57.2 KB)

Output Bundle:

[
    {
        "object": "page",
        "id": "f005a441-2801-4cb4-beb1-7e048ccbfb54",
        "created_time": "2023-11-08T14:40:00.000Z",
        "last_edited_time": "2023-11-08T14:40:00.000Z",
        "created_by": {
            "object": "user",
            "id": "b828f527-70af-4be0-b6d3-f9e83ee28515"
        },
        "last_edited_by": {
            "object": "user",
            "id": "b828f527-70af-4be0-b6d3-f9e83ee28515"
        },
        "cover": null,
        "icon": null,
        "parent": {
            "type": "database_id",
            "database_id": "f1442661-1422-4e1a-9923-22deb5735701"
        },
        "archived": false,
        "properties": [
            {
                "id": "BPaZ",
                "type": "number",
                "number": 65,
                "label": "Rate (Per Hour)"
            },
            {
                "id": "Ydfb",
                "type": "date",
                "date": {
                    "start": "2023-10-30",
                    "end": null,
                    "time_zone": null
                },
                "label": "Start Date"
            },
            {
                "id": "i%5EbG",
                "type": "date",
                "date": null,
                "label": "End Date"
            },
            {
                "id": "%7BueR",
                "type": "number",
                "number": null,
                "label": "Total"
            },
            {
                "id": "title",
                "type": "title",
                "title": [
                    {
                        "type": "text",
                        "text": {
                            "content": "Notable Life ",
                            "link": null
                        },
                        "annotations": {
                            "bold": false,
                            "italic": false,
                            "strikethrough": false,
                            "underline": false,
                            "code": false,
                            "color": "default"
                        },
                        "plain_text": "Notable Life ",
                        "href": null
                    }
                ],
                "label": "Project Name"
            }
        ],
        "url": "https://www.notion.so/Notable-Life-f005a44128014cb4beb17e048ccbfb54",
        "public_url": null,
        "properties_value": {
            "Rate (Per Hour)": 65,
            "Start Date": {
                "start": "2023-10-30",
                "end": null,
                "time_zone": null
            },
            "End Date": null,
            "Total": null,
            "Project Name": [
                {
                    "type": "text",
                    "text": {
                        "content": "Notable Life ",
                        "link": null
                    },
                    "annotations": {
                        "bold": false,
                        "italic": false,
                        "strikethrough": false,
                        "underline": false,
                        "code": false,
                        "color": "default"
                    },
                    "plain_text": "Notable Life ",
                    "href": null
                }
            ]
        }
    }
]


Welcome to the Make community!

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:
Screenshot_2023-10-07_111039

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.

Screenshot_2023-08-24_230826
(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, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.json file, and upload it here into this discussion thread.
Screenshot_2023-10-06_141025

Providing the 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!

2 Likes

Looks like you mapped Start_Date in column B,

Screenshot_2023-11-14_091103

which is actually a “collection” in the output bundle (and not text, hence the error message)

Screenshot_2023-11-14_091142

You might just need to expand the Start_Date collection and select the child property Start_Date.start

2 Likes

That solved it lol, thank you! I dug into the collection for the other fields but not date for some reason.

I was wondering, if I also wanted to update my google sheets whenever my notion database is updated would I just add another module for updating and link it to the same notion node with a router?

No problem, glad I could help!

Yes, but you’ll need to use a search module to see if it exists in Google sheets before using filters to pick the add or update route.

In future, please create a new thread for each question. This makes it easier for others with the same problem to search for the answer. Thank you for your cooperation!

The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

2 Likes