Share to specific Notion page without Notion opening

Hi @moggy1972 - I have been having such a hair-brained time trying to settle on ONE Productivity/Canvas/Note ecosystem and your “Add to Notion” action might make that decision for me but I’m having trouble getting your “add to Notion” action to fire correctly.

I have recreated my Notion integration, deleted the credentials in Drafts and entered the Secret/Page ID in the dialog box but I immediately get the:

I saw where you suggest hard coding the information in the script but I was hoping you could get specific about what I should be replacing.

Is it one of these lines?

credential.addPasswordField(“secret”, “Secret”);
credential.addTextField(“inbox”, “Inbox”);

Edit: It only seems to error in a multi-line Draft. A single line pretends to work but doesn’t insert any data.

Edit Edit: Well…disregard I suppose. I reinstalled the action and it’s working for some reason - multiline and everything.

Now to figure out how to add to databases…

Thanks for the work @moggy1972 !