Hi all, here is my workflow to replace links (and also “tags”) in a google doc.
A few comments:
- it takes a list of replacements as inputs (search/replace): you can have property like [[property1]] is replaced by “value1” or you can also have replacements of link like: “xxxx”(which is a part of a link, for example a google id), is replaced by another google id link.
- first node loads google doc content
- second node adds the content of the node to a property
- third node searches links in the content and prepare a replacement command
- fourth node searches for text occurrences to be replaced
- final node update the google doc file using all the replacement commands.
Let me know if you have any question