New Row Added
Observe newly appended rows in your dedicated Proposals worksheet after the initial baseline. Keep Client, Offer and DocumentLink in A1:C1; the final step writes to column C by row number.
Workflow template
Create a proposal from each new Google Sheets row using your Google Docs template. Fill its DETAILS placeholder with Client and Offer, then write the document link back to column C.
How it works
Observe newly appended rows in your dedicated Proposals worksheet after the initial baseline. Keep Client, Offer and DocumentLink in A1:C1; the final step writes to column C by row number.
Copy your selected source document and title it Proposal followed by the Client value. Use spreadsheet ID, worksheet name and row number as the event key, allowing repeated events to reuse an existing copy.
Replace the literal [[DETAILS]] text in the copied document with Client and Offer, labelled Client and Proposal. The original source template is not the fill target.
Write the copied document’s webViewLink as RAW data into C at the source event’s row number. This replaces that cell’s value; the output column is fixed to C rather than located by its header.
The result
The document is titled Proposal — Example Studio and its DETAILS section becomes Client: Example Studio followed by Proposal: A workshop.
| Client | Offer | DocumentLink |
|---|---|---|
| Example Studio | A workshop | https://docs.google.com/document/d/example-proposal-copy/edit |
Fictional row and illustrative document URL. Reserve column C for the output. The recipe does not email the proposal or grant anyone access to the document.
Before activation
Put Client, Offer and DocumentLink in A1:C1, in that order. Connect Google Sheets and select this worksheet. Reserve C for workflow output and keep row positions stable so links return to the intended row.
Create a Google Docs template accessible to the selected Docs connection and include the literal [[DETAILS]] placeholder. Select it in Copy your document template. Review the Client/Offer replacement and row-based event key.
Activate, let the first poll establish a baseline, then append fictional Client and Offer values. Check the copied document, its replaced section and the link written into that row’s C cell. Keep C free of other data.
Column C is a fixed write target. The final action writes to C plus the trigger’s row number. Renaming DocumentLink or moving that header does not move the output. Existing content in the target C cell is replaced; avoid deleting or reordering source rows while active.
The source document supplies the layout. Include [[DETAILS]] exactly in your accessible template. The workflow copies it, fills Client and Offer in the copy and returns that copy’s link. It does not generate an entire proposal layout or send an email.
Reuse does not guarantee once-only effects. The copy event key combines spreadsheet, worksheet and row number. Repeated events can reuse a copy, while concurrent executions and manual replays can repeat downstream effects. A filled document may no longer contain the placeholder.
New-row processing is not document synchronization. Existing rows establish the baseline and later cell edits do not update proposals. Append complete rows after polling starts. A link in the sheet does not change the copied document’s sharing permissions.
The prepared writeback targets column C by position, not by header name. Keep Client, Offer and DocumentLink in A1:C1, or edit the writeback range yourself. Existing content in the target C cell is replaced.
It must be accessible to the selected Docs connection and contain the literal [[DETAILS]] placeholder. The workflow copies the document and replaces that text with the row’s Client and Offer values.
No. This processes newly appended rows after the initial baseline. Later edits do not update the document. Keep source row positions stable because the event key and link writeback use the row number.
No. The row-based event key can reuse an existing copy, but concurrent executions and manual replays can repeat downstream effects. The placeholder may already be replaced; review the document and C cell before replaying.