Originally written for bulldo.gs — republished here with the canonical link pointing home.

I need to fill a Google Slides template with dynamic values (names, dates, company fields) without manually editing every text box on every slide.

// Replace {{token}} placeholders across an entire Slides deck.

// matchCase = true prevents {{name}} from also clobbering {{full_name}}.

function fillDeckFromData() {