Google Docs ID/URL:
I’m trying to get the Google Docs ID and send it to Telegram. I’ve already experimented with Google Drive to download the docs, but I’m unsure how to retrieve the Docs ID or Docs URL. Could someone point me in the right direction?
Filling Google Docs Content from Telegram:
I’m also exploring whether it’s possible to fill Google Docs content based on user interactions in Telegram. Here’s the context:
I’m building an AI agent to assist in coding.
The AI agent interacts with users via Telegram, asking questions about the project (e.g., requirements, details, etc.).
The output of this process should be two Google Docs: a PRD (Product Requirements Document) and a Cursor AI Coding Plan.
These docs need to be sent back to Telegram once completed.
Is this achievable with n8n? If so, could someone share insights or examples on how to set this up?
Any help or suggestions would be greatly appreciated! Thanks in advance.
Updating the content of an existing Google Doc is challenging through the standard Google Drive node. Here’s a workaround:
Use the “Write File” operation to modify the content locally.
Upload the modified file to Google Drive as a new document.
Note: This method creates a new file rather than updating the existing one. You can update some metadata (like name) of the original file, but modifying its content directly is not straightforward with the current n8n Google Drive node.
Alternative Approach:
For more direct content updates, consider using the Google Docs API through an HTTP Request node. This requires additional setup but allows for in-place document editing.