Hi everyone!
I’m having this issue when I’m trying to add Guests to Person property types in database pages.
When I specify a guest person ID, I am able to retrieve the person with the User, Get User operation.
I’m also able to get guest person IDs when they are pre-populated in the Notion database I’m getting from.
However, when I’m trying to create or update a database page, the person property is only accepting Users and Integrations as person IDs. Applying the User, Get All operation also omits guests with access to the same databases. Has anyone found any workarounds or fixes for this?
Thanks,
Zekiel
Hey @honkezekiel!
Welcome to the community
Are you trying to add a guest who is not in the workspace? I was able to add a guest (with whom I’ve shared the workspace) to a Database Page. Can you please share what error you get? If you can also share the workflow (as well as the notion template) it would help me recreate the issue.
Hi Harshil,
The guests are already added to the workspace.
Notion, Get All Database Pages - I’m able to detect guest IDs under the XCRM Team Person property
Node, Update Database Pages - tried feeding in the same guest IDs for Person properties but it’s not working, allowing only Members and Integrations.
Notion Template: https://www.notion.so/951f18a9211a42aa9cb4b4a3e2cb8b21?v=c5f1d66b809246d085c5411f99418a93
Guest IDs: 5377c9ce-b040-4afa-9a5a-f5053ac2d3a7,d45224ac-2d62-4fa2-9feb-9d6b13c48262,1bae0ec6-5452-4716-9283-9d4a64669997,f356a346-d88a-4384-b6e8-8c789f01d157
TypeError: value.peopleValue.map is not a function
at getPropertyKeyValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Notion/GenericFunctions.js:218:43)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Notion/GenericFunctions.js:256:41
at Array.reduce (<anonymous>)
at Object.mapProperties (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Notion/GenericFunctions.js:255:23)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Notion/Notion.node.js:336:62)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:492:37)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:424:62
Hey @honkezekiel!
Unfortunately, I was not able to reproduce this issue. It still works for me. I am not why it is not working for you. Can you try creating a new workflow from scratch?
You can also use the Split In Batches node and the IF node to form a loop that will query for a single user, check what data the node returns, and based on that proceed forward. Let me know if you need any help