Replacing text in a google document

Hi,

The action “replace a text in a document” not working in my workflow.

At each end of week, I need to delate the content of a Google doc. So I try to Replace the content of the document by a headline.

There is no error message but the old text is still in the document.

Here some screenshots.

Thanks a lot for your help.

Guillaume