Notion Trigger not working or working only on Execute Workflow

I’m desperately trying to build Notion - Google Calendar sync. I have two triggers: on a new item and on update items. And it works very badly without any clear logic.

  1. Very often it doesn’t react when the worklow is active. But when I click the button Execute Workflow button, it works… Or it can do nothing, then I make some changes in the final node (let’s say Telegram), resave the workflow — and it sends several execution as if they were in a queue
  2. Sometimes the New trigger doesn’t fire on a new record but the Update trigger does.

What can be the reason?

Hey,

I just Today had similar problem, be aware that you need to let n8n how often it should look what new pages (I think it was added with some n8n version)
In my case, added pooling every minute to resolve problem (I am using version 156)

Workflow

Let me know if you have futher questions.

HI @Shirobachi. Yes, I set both triggers for 1 minute polling. It works so bad that I’m frustrated. It is completely unpredictable and depends on the Execution button and on re-saving the workflow.

Thinking about comparing data versions and acting if something new in Notion data.

About comparing data, you may check last update props. But let me know what version do you use.
Try this, disable update trigger for a moment and make new page, be sure at this time to workflow be active. In my case it works with delay but always work. I know that in notion edit and created are related, so maybe it causes some problem (if you create new page at 5:15PM then edit time will be same)
If will be working for new data trigger you could try after update trigger make filter edit time not equal created time (via function note the easiest I think)

Disabled the Update node and waited. On new records the New trigger catches and sends data of some previous data. Like 3 or 4 records before. Seems like there’s some queue and the trigger pulls not the latest one.

Did you get the newest added?

That’s pretty weird IMO

I have 0.160, the latest

The problem with the Notion trigger is also that it can miss some of records, if they all were added during the polling time.

See the full thread here. In the table below records in the red rectangles are not caught:

Honestly, I don’t know how to fix this. If I were you at this point I would add checkbox props and I would get all pages where this props == false, do what you need and check this props to true.

Sorry that I am not able to help you better ;/

That’s ok. I hope, it will draw the community attention.

1 Like

Thanks very much both for raising this! I haven’t worked too much with the Notion Trigger yet but have blocked some time tomorrow to take a closer look into what might be happening here.

Thank you, that would be great

After looking into this I could identify one case where records where missed by the trigger node. The Notion trigger node compares the internal ID of the previous record which it discovered as having changed with the ID of the last updated record it receives when querying Notion (here).

So where you update a record (which is found by the trigger) and would then update that same record again it would miss the second update. This would also miss records that have been updated in the meantime if the last record you update between polling intervals is the one that has previously been found by the trigger.

I shall add this to our bug tracker for a closer look and hopefully resolution.

Until then I think @Shirobachi approach should be fine for many use cases. If you need to control the polling logic yourself you can always use the approach described at Creating triggers for n8n workflows using polling ⏲ to fetch your relevant records. There unfortunately is another bug with the Notion node (not the trigger) requiring you to use JSON filters to query dates, you can find an example for this in the respective forum topic: Notion wrong send request since [email protected] - #14 by MutedJam.

Please accept my apologies for this inconvenience.

2 Likes

I hope that this would eventually solve proble with the Notion Triggers in both regimes (New and Updated).

For now, I developed such a versioning polling workflow. This is how I add a new GCal event from Notion. And checking that it wasn’t created in GCal by hands so there’s no need to go to Notion and create a copy.
I can develop this for Updating and Deleting GCal events

1 Like

Hi @MutedJam did you solve the problem? Same issue for me… Regards, Jean

Hello @MutedJam, hope you’re well!

I’m running into the same issues and would love to see these triggers work to automate flows between Notion and Todoist.
Is there any update yet?

Thanks for your time! :slight_smile:

Regards,

Romain

Hey @Defarax, welcome to the community :tada:

I’ve just checked the status of the bug ticket I had raised when first reading this but it seems it was closed in favour of the below community PR:

It seems priorities have changed a bit on our end since this came up unfortunately, so I don’t have an ETA at this time.

Please accept my sincer apologies for the inconvenience this causes :frowning: