Insert PNG into google doc

Describe the issue/error/question

Hello guys,

What is the error message (if any)?

i’m trying to add an image on my google doc i follow the same as i started prevously
I have an image , i have the table reference index , it insert a row in the table

What i don’t understand is where i defined that the image must be inserted ?

Please share the workflow

Share the output returned by the last node

the start index is “startIndex”: 287,

Can you lead me where to define the picture to include at this index ?

Thank you

Information on your n8n setup

  • n8n version:
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]:

Hi @terryble66, this isn’t something the Google Docs node supports, so you might want to write a feature request for this.

For the time being, you would need to make the required API Request (this method with this request element) through the HTTP Request node. From looking at the documentation, this endpoint does not support uploading images though, so you would need to upload your image to another service first, then insert the image through its URL.

I gave this a go on my end and after seeing what I believe has to be all the errors the Google Docs API has to offer this approach worked for me:

Recording 2022-12-01 at 15.16.23

Hope this helps!

1 Like

Hello @MutedJam

I got it, I will try with onedrive or dropbox.

Thank you

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