Connecting n8n to Google Docs (Create Document Node)

Hi all,

I hope all is well. I’m creating a workflow that involves connecting n8n to a Google Docs Create Document node. I’ve established my Client ID, Client Secret, and enabled the Google Docs API in my account.

I’m able to connect using the Google Documents Get Document node with no issues. However, for the Google Docs Create Document node, it’s asking for the additional information: Authorization URL and Access Token URL (see image).

I’ve tried researching and constructing these own my own, but so far, I’ve been unsuccessful. I haven’t found any n8n tutorials on how to connect to this specific node.

Can anyone provide any insight. Any feedback is appreciated. Thanks in advance.

Are you using n8n original Nodes?
I can’t find that in anywhere, it would ask me for Authorization URL or Access Token URL

Hello @RJ_Nelson,

According to the documentation and conversions known in the community, the standard values for Google OAuth2 would be:

  • Authorization URL:
    https://accounts.google.com/o/oauth2/v2/auth
  • Access Token URL:
    https://oauth2.googleapis.com/token
  • Scope: https://www.googleapis.com/auth/documents https://www.googleapis.com/auth/drive.file
  • Auth URI Query Parameters:
    access_type=offline&prompt=consent to get refresh_token
  • Authentication:
    body (i.e. the client_id or secret parameters passed in the request body)

I link here the Github documentation and here the n8n official documentation

2 Likes

Thank you, this worked.

Glad to here this, please mark my previous answer as solution.
It helps other users.

Thanks

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.