How to delete the content in a google doc

Hello,

For a project I need to replace all the texte contain in a google document by a new one. However it doesn’t work because I don’t manage to delete the data contain in the doc.
I tried to get the content from the doc and then replace it by the new one but it just doesn’t work I don’t know why…

Thanks for your help.


Welcome to the Make community!

If you need further assistance, please provide the following:

Output bundles

Please provide the output bundles of the “Get Content of a Document” module [14] by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes