Extract variable from google doc template

Hello Guys

Describe the issue/error/question

I would like to extract the variable from text to become variable to be change in my update action

What is the error message (if any)?

No I don’t see how to script it (i have no eperience with script :confused:

Please share the workflow

The workflow is 
1/ Extract data from Google-sheet : done
2/ Copy google-doc template to "new document ": done
3/ Défine which text is variable in "new document " : This question
4/ Replace the definied variable by the data from Google-sheet : next step

Share the output returned by the last node

If any other way is better to populate template from Google-sheet i’m open to try it.

Thank you

Information on your n8n setup

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

It should be as simple as any other replace command. You just need to pass your {{ variable }} as a simple text and textToReplace like I have shown in the screen shot below. That should help

2 Likes

Thank you
Why I thought it will be more complicated :confused: