When I create Google Docs from a template using Zapier, I continuously get strange formatting. There is an added line break after each variable which is placed in the document.
All the variables are coming in which is great, but it’s quite annoying to have to go through and format the doc after it is created by the automation each time.
Has anyone else had this problem or know how to solve it?
Best answer by Troy Tessalone
Appears the data being sent in on the Webhook has line breaks for the data points. (see screenshot has extra rows before and/after the value)
Make sure in the Zap there isn’t an extra line break in the field after where you are mapping the dynamic data point, which could result in the extra line break.
Otherwise, please provide screenshots of how your Zap step is configured and the originally populated GDoc template with the line breaks.
after further testing here, we did ultimately find a way to modify the system that is sending the webhook data. By trimming some html formatting there before passing to Zapier we’ve been able to fix this issue.