n8nhackers / n8n-nodes-document-generator

This node renders Handlebars templates for documents or emails
MIT License
25 stars 7 forks source link

allow changing return key from text #1

Closed roozbehk closed 2 years ago

roozbehk commented 2 years ago

Describe the function you would like to have

hello when I have multiple document generators, all of them return the value in text key. is it possible to allow custom keys.

Describe your current alternative solution.

No response

mcolomer commented 2 years ago

Hi @roozbehk

I have uploaded a new version where you can define the name of the output property (instead of the default name 'text'). Could you try it please?

Thank you!

roozbehk commented 2 years ago

Awsome! I can confirm I can see "Define a Custom Output Key" Option now and the feature works as expected! Thank you @mcolomer

mcolomer commented 2 years ago

Perfect.

Enjoy it!