Refresh a client's monthly report without breaking its brand
Last month's branded deck, opened and updated in place from GA4, Google Ads and Meta exports, with a new slide on the best new creative and everything else left as the client knows it.
- Who
- Tidewater Digital's account team, in Claude with Artiwright's tools
- Runs in
- Claude
- Hands over
- .pptxharbor-pine-september-2026.pptx
The ask
Harbor & Pine's September report is due on the 5th. Last month's deck and September's GA4, Google Ads and Meta exports are in this folder; client_brief.md has the details. Update the deck in place: keep its look, change only what's new, add the new-creative slide, and save it as harbor-pine-september-2026.pptx.
An agency owes each client a monthly report by the 5th. Each one starts from last month's branded deck: paste in new numbers, fight the charts, hope nothing moved.
This is one real session in Claude with Artiwright's tools: last month's deck, September's GA4, Google Ads and Meta exports and the account team's brief. The agent opens the deck, updates every number, chart and the campaign table in place, adds the new-creative slide and saves September as a new file.
What they handed over
Made-up data in the shape of a real export. Download it and try the ask yourself.
What came out
Screenshots exported by PowerPoint and Excel.
What the agent noticed
The brief says the report goes out on the 5th; the run was on the 12th, so the agent flagged the cover date instead of printing a date already past, and marked the October plan as a draft to confirm.
Build it yourself
Harbor & Pine's September report is due on the 5th. Last month's deck and September's GA4, Google Ads and Meta exports are in this folder; client_brief.md has the details. Update the deck in place: keep its look, change only what's new, add the new-creative slide, and save it as harbor-pine-september-2026.pptx.claude mcp add --transport stdio --scope user artiwright -- npx -y artiwright@latest mcpSet Artiwright up in your app first: Quickstart for AI apps, Google ADK, LangGraph, Node.js.
How it got thereSee all 36 calls the agent made, what lint found and the finalize report
The run
One real session in Claude (claude-opus-5-5), with only Artiwright's tools and read access to the files above. Nothing below is edited: every call the agent made, what came back, and the renders it looked at.
Glob*{ "pattern": "**/*" }client_brief.md harbor-pine-august-2026.pptx ads_campaigns.csv ga4_sessions.csv meta_ads.csvToolSearch{ "query": "select:mcp__artiwright__artiwright_open,mcp__artiwright__artiwright_inspect,mcp__artiwright__artiwright_render,mcp__artiwright__artiwright_run,mcp__artiwright__artiwright_lint,mcp__artiwright__artiwright_finalize,mcp__artiwright__artiwright_help,mcp__artiwright__artiwright_import", "max_results": 8 }Readclient_brief.md{ "file_path": "./work/client_brief.md" }1 # Harbor & Pine Outfitters: September report 2 3 From the account team, Tidewater Digital: 4 5 - Last month's report is harbor-pine-august-2026.pptx. Keep its look and structure exactly; the 6 client is used to it. Update every number, chart and the campaign table for September from the 7 GA4, Google Ads and Meta exports. 8 - Add one slide on the best-performing new creative from Meta this month. 9 - Next month's plan slide: keep the format, update it from what September shows. 10 - Save it as harbor-pine-september-2026.pptx. It goes to the client on the 5th, so it must not have 11 anything left over from editing. 12Readads_campaigns.csv{ "file_path": "./work/ads_campaigns.csv" }1 Day,Campaign,Cost,Clicks,Conversions,Conv. value 2 2026-09-01,Brand - Search,90.97,119,14,880.22 3 2026-09-01,Nonbrand - Jackets,204.73,135,4,814.95 4 2026-09-01,Nonbrand - Boots,169.94,127,4,558.06 5 2026-09-01,Shopping - All products,255.56,160,4,1043.26 6 2026-09-01,PMax - Fall Layers,283.07,253,7,1781.22 7 2026-09-02,Brand - Search,107.89,165,19,1145.99 8 2026-09-02,Nonbrand - Jackets,167.72,132,4,690.9 9 2026-09-02,Nonbrand - Boots,163.65,114,3,441.29 10 2026-09-02,Shopping - All products,249.67,214,6,974.02 11 2026-09-02,PMax - Fall Layers,293.97,240,8,1606.69 12 2026-09-03,Brand - Search,111.44,165,18,895.07 13 2026-09-03,Nonbrand - Jackets,262.23,164,5,1194.22 14 2026-09-03,Nonbrand - Boots,161.06,105,3,576.38 15 2026-09-03,Shopping - All products,240.21,184,4,953.04 16 2026-09-03,PMax - Fall Layers,252.91,203,7,1497.62 17 2026-09-04,Brand - Search,82.38,106,12,910.99 18 2026-09-04,Nonbrand - Jackets,232.63,186,7,1140.44 19 2026-09-04,Nonbrand - Boots,150.09,116,3,448.44 20 2026-09-04,Shopping - All products,207.56,142,4,882.3 21 2026-09-04,PMax - Fall Layers,280.87,216,6,1311.35 22 2026-09-05,Brand - Search,85.43,115,15,930.41 23 2026-09-05,Nonbrand - Jackets,195.22,163,6,805.19 24 2026-09-05,Nonbrand - Boots,146.56,102,3,378.53 25 2026-09-05,Shopping - All products,236.63,174,5,1167.99 26 2026-09-05,PMax - Fall Layers,210.28,142,4,935.04 27 2026-09-06,Brand - Search,107.39,143,19,920.28 28 2026-09-06,Nonbrand - Jackets,248.61,170,6,990.56 29 2026-09-06,Nonbrand - Boots,166.65,150,4,578.25 30 2026-09-06,Shopping - All products,220.69,144,4,884.57 31 2026-09-06,PMax - Fall Layers,238.39,191,5,1226.76 32 2026-09-07,Brand - Search,103.29,148,17,948.52 33 2026-09-07,Nonbrand - Jackets,182.94,139,4,785.42 34 2026-09-07,Nonbrand - Boots,178.57,137,4,605.29 35 2026-09-07,Shopping - All products,224.06,191,6,872.81 36 2026-09-07,PMax - Fall Layers,269.18,197,7,1240.86 37 2026-09-08,Brand - Search,94.63,133,14,925.91 38 2026-09-08,Nonbrand - Jackets,200.31,130,5,846.93 39 2026-09-08,Nonbrand - Boots,132.44,99,3,397.86 40 2026-09-08,Shopping - All products,215.7,174,5,1153.02 41 2026-09-08,PMax - Fall Layers,327.87,225,7,1569.54 42 2026-09-09,Brand - Search,95.76,111,12,937.44 43 2026-09-09,Nonbrand - Jackets,190.17,146,6,733.03 44 2026-09-09,Nonbrand - Boots,164.36,109,3,429.96 45 2026-09-09,Shopping - All products,206.86,134,4,772.49 46 2026-09-09,PMax - …Readga4_sessions.csv{ "file_path": "./work/ga4_sessions.csv" }1 Date,Session default channel group,Sessions,Engaged sessions,Add to carts,Checkouts,Purchases,Purchase revenue 2 2026-09-01,Organic Search,1744,1167,102,56,36,4463 3 2026-09-01,Paid Search,924,577,86,46,29,3142.04 4 2026-09-01,Paid Social,804,381,36,21,13,1334.47 5 2026-09-01,Email,443,340,38,21,12,1742.45 6 2026-09-01,Direct,558,328,41,24,15,2062.77 7 2026-09-01,Referral,174,97,11,6,4,466.48 8 2026-09-02,Organic Search,1548,1097,104,60,38,4752.39 9 2026-09-02,Paid Search,995,581,90,54,34,3905.99 10 2026-09-02,Paid Social,833,402,49,27,18,1888.05 11 2026-09-02,Email,419,295,43,23,13,1726.78 12 2026-09-02,Direct,628,388,47,25,16,2212.26 13 2026-09-02,Referral,209,120,12,6,4,482.83 14 2026-09-03,Organic Search,1243,766,83,45,29,3680.26 15 2026-09-03,Paid Search,808,503,68,38,23,2524.43 16 2026-09-03,Paid Social,731,343,35,20,13,1358.82 17 2026-09-03,Email,423,313,39,21,13,1738.41 18 2026-09-03,Direct,616,399,39,22,15,2037.62 19 2026-09-03,Referral,199,112,10,6,4,491.78 20 2026-09-04,Organic Search,1602,935,114,63,41,4744.32 21 2026-09-04,Paid Search,988,617,72,40,23,2883.98 22 2026-09-04,Paid Social,819,393,39,22,13,1268.44 23 2026-09-04,Email,401,289,42,25,15,2140.6 24 2026-09-04,Direct,665,391,51,29,17,2246.03 25 2026-09-04,Referral,204,119,12,7,4,487.46 26 2026-09-05,Organic Search,1688,1130,132,73,46,5644.54 27 2026-09-05,Paid Search,1074,656,88,52,34,4267.53 28 2026-09-05,Paid Social,960,479,56,31,19,1810.43 29 2026-09-05,Email,574,433,63,35,20,2912.48 30 2026-09-05,Direct,745,456,61,33,21,2520.79 31 2026-09-05,Referral,244,134,13,8,5,606.1 32 2026-09-06,Organic Search,1730,1186,129,72,46,5105.99 33 2026-09-06,Paid Search,1215,766,98,58,35,4415.32 34 2026-09-06,Paid Social,847,395,48,26,17,1674.03 35 2026-09-06,Email,508,354,53,28,18,2558.82 36 2026-09-06,Direct,690,431,59,35,23,3177.8 37 2026-09-06,Referral,245,133,11,6,4,464.58 38 2026-09-07,Organic Search,1555,1031,108,63,39,4577.59 39 2026-09-07,Paid Search,854,504,64,34,22,2630.01 40 2026-09-07,Paid Social,807,372,41,24,15,1491.11 41 2026-09-07,Email,374,243,38,22,13,1891.03 42 2026-09-07,Direct,613,402,41,23,15,1770.54 43 2026-09-07,Referral,196,115,12,7,4,481.87 44 2026-09-08,Organic Search,1518,964,126,74,45,5211.92 45 2026-09-08,Paid Search,897,587,70,39,25,2726.55 46 2026-09-08,Paid Social,815,370,36,20,12,1115.91 47 2026-09-08,Email,408,300,48,28,18,2172.44 48 2026-09-08,Direct,647,426,43,24, …Readmeta_ads.csv{ "file_path": "./work/meta_ads.csv" }1 Day,Campaign name,Ad name,Amount spent (USD),Impressions,Link clicks,Purchases,Purchases conversion value 2 2026-09-01,Prospecting - Fall Layers,Fall Layers - Video 15s,200.19,16813,161,8,771.27 3 2026-09-01,Prospecting - Fall Layers,Fall Layers - Carousel,171.4,13384,160,4,453.32 4 2026-09-01,Prospecting - Fall Layers,Trail Boots - UGC,121.49,10283,130,4,389.17 5 2026-09-01,Retargeting - Cart,Cart reminder - Static,76.59,6692,90,6,521.43 6 2026-09-02,Prospecting - Fall Layers,Fall Layers - Video 15s,166.68,13822,140,8,769.96 7 2026-09-02,Prospecting - Fall Layers,Fall Layers - Carousel,171.37,15835,159,6,640.36 8 2026-09-02,Prospecting - Fall Layers,Trail Boots - UGC,138.75,11955,135,4,420.45 9 2026-09-02,Retargeting - Cart,Cart reminder - Static,68.95,5983,73,4,397.75 10 2026-09-03,Prospecting - Fall Layers,Fall Layers - Video 15s,222.27,17350,171,9,858.63 11 2026-09-03,Prospecting - Fall Layers,Fall Layers - Carousel,152.9,13091,145,7,647.16 12 2026-09-03,Prospecting - Fall Layers,Trail Boots - UGC,91.47,7862,92,3,269.85 13 2026-09-03,Retargeting - Cart,Cart reminder - Static,68.76,5290,70,5,504.63 14 2026-09-04,Prospecting - Fall Layers,Fall Layers - Video 15s,206,17963,169,8,801.97 15 2026-09-04,Prospecting - Fall Layers,Fall Layers - Carousel,153.33,13908,177,6,582.67 16 2026-09-04,Prospecting - Fall Layers,Trail Boots - UGC,130.39,10218,94,4,407.62 17 2026-09-04,Retargeting - Cart,Cart reminder - Static,66.68,6088,84,5,478.29 18 2026-09-05,Prospecting - Fall Layers,Fall Layers - Video 15s,179.05,16216,214,6,645.28 19 2026-09-05,Prospecting - Fall Layers,Fall Layers - Carousel,148.11,10721,140,5,512.37 20 2026-09-05,Prospecting - Fall Layers,Trail Boots - UGC,105.74,9815,134,3,242.03 21 2026-09-05,Retargeting - Cart,Cart reminder - Static,70.8,6135,81,5,566.91 22 2026-09-06,Prospecting - Fall Layers,Fall Layers - Video 15s,229.28,21162,279,10,982.68 23 2026-09-06,Prospecting - Fall Layers,Fall Layers - Carousel,155.12,12816,125,5,480.16 24 2026-09-06,Prospecting - Fall Layers,Trail Boots - UGC,116.82,9400,107,3,322.4 25 2026-09-06,Retargeting - Cart,Cart reminder - Static,72.53,5111,70,6,622.24 26 2026-09-07,Prospecting - Fall Layers,Fall Layers - Video 15s,226.3,17800,241,10,930.38 27 2026-09-07,Prospecting - Fall Layers,Fall Layers - Carousel,198.07,17924,234,9,835.26 28 2026-09-07,Prospecting - Fall Layers,Trail Boots - UGC,117.18,9991,134,4,345.6 …artiwright_openharbor-pine-august-2026.pptx{ "path": "./work/harbor-pine-august-2026.pptx" }{ "ok": true, "document": "deck", "slides": 8, "layouts": [ { "key": "title", "name": "Title Slide", "placeholders": [ "title", "subtitle" ] }, { "key": "title-and-content", "name": "Title and Content", "placeholders": [ "title", "body" ] }, { "key": "section", "name": "Section Header", "placeholders": [ "title", "body" ] }, { "key": "two-content", "name": "Two Content", "placeholders": [ "title", "left", "right" ] }, { "key": "comparison", "name": "Comparison", "placeholders": [ "title", "leftHeading", "left", "rightHeading", "right" ] }, { "key": "title-only", "name": "Title Only", "placeholders": [ "title" ] }, { "key": "blank", "name": "Blank", "placeholders": [] }, { "key": "content-with-caption", "name": "Content with Caption", "placeholders": [ "title", "body", "caption" ] }, { "key": "picture-with-caption", "name": "Picture with Caption", "placeholders": [ "title", "picture", "caption" ] }, { "key": "title-vertical-text", "name": "Title and Vertical Text", "placeholders": [ "title", "body" ] }, { "key": "vertical-title-text", "name": "Vertical Title and Text", "placeholders": [ "title", "body" ] } ], "kept": "1 object(s) (SmartArt, embedded objects, media) can be moved but not edited.", "outline": [ { "slide": 1, "id": "sl_NRCKSZ25", "layout": "Blank", "title": "August 2026 results", "text": [ "sh_G82TB7MW: HARBOR & PINE OUTFITTERS · MONTHLY PERFORMANCE", "sh_5FCK6GF3: August 2026 results", "sh_DKQVTWZ7: Prepared by Tidewater Digital", "sh_VFQQQXEQ: Sent 5 September 2026" ] }, { "slide": 2, "id": "sl_08GNZ9J9", "layout": "Blank", "title": "Purchases up 1% on higher ad spend", "text": [ "sh_Q9WRCJ2Z: AUGUST AT A GLANCE", "sh_MMN3Y64M: Purchases up 1% on higher ad spend", …artiwright_render{}Contact sheet of 8 slides.[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826310541-5r6nf0.png]
artiwright_inspect{ "maxChars": 40000 }{"kind":"deck","slides":8,"size":[1280,720],"fonts":{"heading":"Aptos Display","body":"Aptos"},"layouts":["Blank"]} {"kind":"slide","id":"sl_NRCKSZ25","index":1,"layout":"Blank","title":"August 2026 results","elements":5,"notes":true} {"kind":"shape","id":"sh_8FAH6ZK6","slide":"sl_NRCKSZ25","name":"accent-rule","bbox":[96,214,96,8],"geometry":"rect"} {"kind":"text","id":"sh_G82TB7MW","slide":"sl_NRCKSZ25","name":"TextBox 3","bbox":[96,242,1088,24],"text":"HARBOR & PINE OUTFITTERS · MONTHLY PERFORMANCE","chars":46,"lines":1,"fontPx":18} {"kind":"text","id":"sh_5FCK6GF3","slide":"sl_NRCKSZ25","name":"title","bbox":[96,285,1040,117],"text":"August 2026 results","chars":19,"lines":1,"fontPx":72} {"kind":"text","id":"sh_DKQVTWZ7","slide":"sl_NRCKSZ25","name":"subtitle","bbox":[96,421,960,39],"text":"Prepared by Tidewater Digital","chars":29,"lines":1,"fontPx":30} {"kind":"text","id":"sh_VFQQQXEQ","slide":"sl_NRCKSZ25","name":"TextBox 6","bbox":[96,479,1088,27],"text":"Sent 5 September 2026","chars":21,"lines":1,"fontPx":20} {"kind":"notes","slide":"sl_NRCKSZ25","chars":52,"text":"Monthly report for the Harbor & Pine marketing team."} {"kind":"slide","id":"sl_08GNZ9J9","index":2,"layout":"Blank","title":"Purchases up 1% on higher ad spend","elements":18,"notes":true} {"kind":"text","id":"sh_Q9WRCJ2Z","slide":"sl_08GNZ9J9","name":"eyebrow","bbox":[72,56,1136,24],"text":"AUGUST AT A GLANCE","chars":18,"lines":1,"fontPx":18} {"kind":"text","id":"sh_MMN3Y64M","slide":"sl_08GNZ9J9","name":"title","bbox":[72,87,1136,78],"text":"Purchases up 1% on higher ad spend","chars":34,"lines":1,"fontPx":48} {"kind":"shape","id":"sh_2RDAW6WS","slide":"sl_08GNZ9J9","name":"kpi-1","bbox":[72,297,266,208],"geometry":"roundRect"} {"kind":"text","id":"sh_8H31EPY6","slide":"sl_08GNZ9J9","name":"TextBox 5","bbox":[104,329,202,27],"text":"Sessions","chars":8,"lines":1,"fontPx":20} {"kind":"text","id":"sh_NTW3BS5A","slide":"sl_08GNZ9J9","name":"kpi-1-value","bbox":[104,362,202,78],"text":"142.5K","chars":6,"lines":1,"fontPx":60} {"kind":"text","id":"sh_7JS3T65Y","slide":"sl_08GNZ9J9","name":"TextBox 7","bbox":[104,447,202,27],"text":"+2% vs July","chars":11,"lines":1,"fontPx":20} {"kind":"shape","id":"sh_XVTEK5RK","slide":"sl_08GNZ9J9","name":"kpi-2","bbox":[362,297,266,208],"geometry":"roundRect"} {"kind":"text","id":"sh_AFNDV8HK","slide":"sl_08GNZ9J9","name":"TextBox 9","bbox":[394,329,20 …artiwright_render{ "slides": [ 2, 3, 5, 6, 7 ] }Slide 2[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826313289-3grpyr.png]Slide 3[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826313289-3cpioi.png]Slide 5[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826313289-28izr0.png]Slide 6[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826313289-nxyb3j.png]Slide 7[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826313290-bz13i4.png]




artiwright_help{ "query": "guide editing, Chart, Table", "maxChars": 20000 }# Editing guide Change what exists rather than rebuilding it: every object has an anchor (`sl_…`, `sh_…`, `ch_…`, `tb_…`, `im_…`) that stays the same between calls. ## Find - `deck.inspect({ kind: "slide" })`: one record per slide with its title and element count. - `deck.inspect({ search: "churn" })`: records whose text or name matches. - `deck.inspect({ slide: 3 })`: everything on slide 3, with boxes, line counts and overflow flags. ## Change ```js test const s = deck.slides.add({ layout: "title-only", title: "Draft" }); const box = s.shapes.add({ geometry: "textbox", frame: { x: 80, y: 200, w: 600, h: 80 }, text: "Revenue grew 18%" }); deck.resolve(box.id).update({ frame: { x: 80, y: 220, w: 800, h: 80 }, fill: "slate-100" }); deck.resolve(box.id).replaceText("18%", "18% year on year"); s.remove(box.id); // delete one object deck.slides.move(s.id, 0); // reorder slides (0 = first) deck.slides.remove(s.id); // delete a slide ``` - Charts and tables update in place: `deck.resolve("ch_…").update({ series })`. - Text in placeholders: `slide.placeholders.get("title").set("New headline")`. - A composed slide (recipe) is ordinary shapes: change them by anchor, or remove the slide and compose it again when the layout must change. - `artiwright_undo` steps back a whole call; prefer fixing by anchor over undo-and-redo. 4 entries under Chart: chart.type The chart type, e.g. "column", "line" or "pie". chart.update Changes some options and keeps the rest, e.g. new `series` or a `title`. chart.options The options the chart was built from, including any update(). chart.id Agent-facing anchor, e.g. `ch_7Q2M4K9A`. 3 entries under Table: table.update Changes some options and keeps the rest, e.g. new `rows` or a `frame`. table.options The options the table was built from, including any update(). table.id Agent-facing anchor, e.g. `tb_7Q2M4K9A`.artiwright_runconst out = {}; for (const id of ["ch_2H8CVVTW","ch_8VDQ5C9V","ch_2RBK239M","tb_6CV3XMC9"]) out[id] = deck.resolve(id).options; out.funnel = deck.resolve("sh_H78Q3BYR"); out.funnelKeys = Object.keys(out.funnel||{}); out.slides = deck.slides.items ? deck.slides.items.map(s=>({id:s.id, hidden:s.hidden})) : null; return JSON.stringify(out).slice(0,12000);{ "ok": true, "value": "{\"ch_2H8CVVTW\":{\"frame\":{\"x\":88,\"y\":208,\"w\":639,\"h\":440},\"categories\":[\"Aug 1\",\"\",\"\",\"\",\"\",\"\",\"\",\"Aug 8\",\"\",\"\",\"\",\"\",\"\",\"\",\"Aug 15\",\"\",\"\",\"\",\"\",\"\",\"\",\"Aug 22\",\"\",\"\",\"\",\"\",\"\",\"\",\"Aug 29\",\"\",\"\"],\"series\":[{\"name\":\"Sessions\",\"values\":[5187,5236,4383,4365,4198,4169,4312,5241,5097,4185,4276,4149,4036,4465,4989,5248,4420,4529,4237,4444,4675,4727,4920,4447,4553,4127,4556,4667,4995,5254,4448]}],\"name\":\"chart\"},\"ch_8VDQ5C9V\":{\"frame\":{\"x\":88,\"y\":208,\"w\":639,\"h\":440},\"categories\":[\"Organic Search\",\"Paid Search\",\"Paid Social\",\"Email\",\"Direct\",\"Referral\"],\"series\":[{\"name\":\"Sessions\",\"values\":[47303,29998,25008,13590,20476,6160]}],\"name\":\"chart\"},\"ch_2RBK239M\":{\"frame\":{\"x\":88,\"y\":208,\"w\":639,\"h\":440},\"categories\":[\"Aug 1–7\",\"Aug 8–14\",\"Aug 15–21\",\"Aug 22–28\",\"Aug 29–31\"],\"series\":[{\"name\":\"Ad spend a day\",\"values\":[1367,1373,1433,1382,1372]},{\"name\":\"Paid conversions a day\",\"values\":[44.9,47.6,50,48.1,49.7]}],\"name\":\"chart\"},\"tb_6CV3XMC9\":{\"frame\":{\"x\":72,\"y\":230,\"w\":1136,\"h\":378},\"rows\":[[\"Campaign\",\"Platform\",\"Spend\",\"Purchases\",\"Revenue\"],[\"Prospecting - Summer\",\"Meta\",\"$13,932\",\"362\",\"$35,590\"],[\"Shopping - All products\",\"Google Ads\",\"$7,314\",\"150\",\"$33,014\"],[\"Brand - Search\",\"Google Ads\",\"$2,815\",\"444\",\"$27,950\"],[\"Nonbrand - Jackets\",\"Google Ads\",\"$5,433\",\"139\",\"$20,874\"],[\"Nonbrand - Boots\",\"Google Ads\",\"$5,811\",\"134\",\"$20,627\"],[\"Total, top five\",\"\",\"$35,305\",\"1,229\",\"$138,055\"]],\"name\":\"table\"},\"funnel\":{\"creationId\":\"1f92e268-a36a-43f2-878a-44830a7b2260\",\"proto\":{\"$typeName\":\"artiwright.v1.Element\",\"creationId\":\"1f92e268-a36a-43f2-878a-44830a7b2260\",\"name\":\"chart\",\"description\":\"\",\"kind\":{\"case\":\"picture\",\"value\":{\"$typeName\":\"artiwright.v1.Picture\",\"imageId\":\"03181d29ed3cc853ff60e75780df964b55f7172136139842bd148be64c5f1e94\",\"svgImageId\":\"\",\"preset\":\"\",\"adjust\":[]}},\"source\":\"3\",\"sourceKind\":\"chart\",\"smartArt\":[],\"frame\":{\"$typeName\":\"artiwright.v1.Rect\",\"x\":838200,\"y\":1981200,\"width\":6086475,\"height\":4191000}}},\"funnelKeys\":[\"creationId\",\"proto\"],\"slides\":[{\"id\":\"sl_NRCKSZ25\"},{\"id\":\"sl_08GN …Reviewed the August deck and the three exports. Now I'm loading the CSVs so I can compute September's figures.
artiwright_importga4_sessions.csv{ "path": "./work/ga4_sessions.csv", "document": "data", "sheet": "ga4" }{ "ok": true, "value": { "sheet": "ga4", "range": "A1:H181", "rows": 180, "columns": [ "Date", "Session default channel group", "Sessions", "Engaged sessions", "Add to carts", "Checkouts", "Purchases", "Purchase revenue" ], "firstRows": [ [ 46266, "Organic Search", 1744, 1167, 102, 56, 36, 4463 ], [ 46266, "Paid Search", 924, 577, 86, 46, 29, 3142.04 ], [ 46266, "Paid Social", 804, 381, 36, 21, 13, 1334.47 ] ], "table": "ga4_sessions" }, "logs": [], "created": [], "removed": [], "slides": 0, "sheets": [ "ga4" ], "version": 1, "lint": { "errors": 25, "warnings": 25 }, "next": "Use the table in formulas, e.g. =SUM(ga4_sessions[column]); import the next file the same way." }artiwright_importads_campaigns.csv{ "path": "./work/ads_campaigns.csv", "document": "data", "sheet": "ads" }{ "ok": true, "value": { "sheet": "ads", "range": "A1:F151", "rows": 150, "columns": [ "Day", "Campaign", "Cost", "Clicks", "Conversions", "Conv. value" ], "firstRows": [ [ 46266, "Brand - Search", 90.97, 119, 14, 880.22 ], [ 46266, "Nonbrand - Jackets", 204.73, 135, 4, 814.95 ], [ 46266, "Nonbrand - Boots", 169.94, 127, 4, 558.06 ] ], "table": "ads_campaigns" }, "logs": [], "created": [], "removed": [], "slides": 0, "sheets": [ "ga4", "ads" ], "version": 2, "lint": { "errors": 25, "warnings": 25 }, "next": "Use the table in formulas, e.g. =SUM(ads_campaigns[column]); import the next file the same way." }artiwright_importmeta_ads.csv{ "path": "./work/meta_ads.csv", "document": "data", "sheet": "meta" }{ "ok": true, "value": { "sheet": "meta", "range": "A1:H121", "rows": 120, "columns": [ "Day", "Campaign name", "Ad name", "Amount spent (USD)", "Impressions", "Link clicks", "Purchases", "Purchases conversion value" ], "firstRows": [ [ 46266, "Prospecting - Fall Layers", "Fall Layers - Video 15s", 200.19, 16813, 161, 8, 771.27 ], [ 46266, "Prospecting - Fall Layers", "Fall Layers - Carousel", 171.4, 13384, 160, 4, 453.32 ], [ 46266, "Prospecting - Fall Layers", "Trail Boots - UGC", 121.49, 10283, 130, 4, 389.17 ] ], "table": "meta_ads" }, "logs": [], "created": [], "removed": [], "slides": 0, "sheets": [ "ga4", "ads", "meta" ], "version": 3, "lint": { "errors": 25, "warnings": 26 }, "next": "Use the table in formulas, e.g. =SUM(meta_ads[column]); import the next file the same way." }artiwright_runconst g = workbook.sheets.get("ga4").range("A2:H181").values; const a = workbook.sheets.get("ads").range("A2:F151").values; const m = workbook.sheets.get("meta").range("A2:H121").values; const day = d => d - 46266 + 1; // Sep day number const R = {}; // GA4 const daily = Array(30).fill(0); const ch = {}; let eng=0, atc=0, co=0, pur=0, rev=0, sess=0; for (const r of g) { const d = day(r[0]); daily[d-1]+=r[2]; ch[r[1]]=(ch[r[1]]||0)+r[2]; sess+=r[2]; eng+=r[3]; atc+=r[4]; co+=r[5]; pur+=r[6]; rev+=r[7]; } R.sess=sess; R.daily=daily; R.ch=ch; R.eng=eng; R.atc=atc; R.co=co; R.pur=pur; R.rev=rev; // weekday 2026-09-01 is Tuesday const dow = d => (2 + d - 1) % 7; // 0=Sun let we=0,wen=0,wd=0,wdn=0; daily.forEach((v,i)=>{const w=dow(i+1); if(w==0||w==6){we+=v;wen++}else{wd+=v;wdn++}}); R.weekendLift = (we/wen)/(wd/wdn)-1; const max = Math.max(...daily); R.peak = [daily.indexOf(max)+1, max]; // ads const camp = {}; const spendDay=Array(30).fill(0), convDay=Array(30).fill(0); let gSpend=0,gVal=0,gConv=0; for (const r of a){const d=day(r[0]); const c=camp[r[1]]??={plat:"Google Ads",spend:0,conv:0,rev:0}; c.spend+=r[2]; c.conv+=r[4]; c.rev+=r[5]; spendDay[d-1]+=r[2]; convDay[d-1]+=r[4]; gSpend+=r[2]; gVal+=r[5]; gConv+=r[4];} const ad={}; let mSpend=0,mVal=0,mPur=0; for (const r of m){const d=day(r[0]); const c=camp[r[1]]??={plat:"Meta",spend:0,conv:0,rev:0}; c.spend+=r[3]; c.conv+=r[6]; c.rev+=r[7]; spendDay[d-1]+=r[3]; convDay[d-1]+=r[6]; mSpend+=r[3]; mVal+=r[7]; mPur+=r[6]; const x=ad[r[2]]??={campaign:r[1],spend:0,imp:0,clicks:0,pur:0,rev:0,first:{}}; x.spend+=r[3]; x.imp+=r[4]; x.clicks+=r[5]; x.pur+=r[6]; x.rev+=r[7];} for (const k in ad){const x=ad[k]; x.roas=x.rev/x.spend; x.cpa=x.spend/x.pur; x.ctr=x.clicks/x.imp; delete x.first;} // halves for meta ads const half={}; for(const r of m){const d=day(r[0]); const h=d<=14?"h1":"h2"; const x=half[r[2]+"|"+h]??={spend:0,pur:0,rev:0}; x.spend+=r[3]; x.pur+=r[6]; x.rev+=r[7];} R.half=half; R.camp=camp; R.ad=ad; R.g={gSpend,gVal,gConv}; R.m={mSpend,mVal,mPur}; R.spend=gSpend+mSpend; R.platRev=gVal+mVal; R.roas=R.platRev/R.spend; R.paidConv=gConv+mPur; R.cpa=R.spend/R.paidConv; const wk=[[1,7],[8,14],[15,21],[22,28],[29,30]]; R.weeks=wk.map(([s,e])=>{let sp=0,cv=0;for(let d=s;d<=e;d++){sp+=spendDay[d-1];cv+=convDay[d-1];} const n=e-s+1; return [Math.round(sp/n), +(cv/n).toFixed(1)];}); let b=0,af=0; for(let d=1;d<=30;d++){ if(d<15) b+=convDay[d-1]; else af+=convDay[d-1]; } R.before=b/14; R.after=af/16; // aug comparisons R.vsAug={sess:sess/142535-1, pur:pur/3717-1, spend:R.spend/42993-1}; R.spendDay=spendDay.map(Math.round); R.convDay=convDay; return R;{ "ok": true, "value": { "sess": 147576, "daily": [ 4647, 4632, 4020, 4679, 5285, 5235, 4399, 4490, 4533, 4257, 4439, 5109, 5134, 4422, 5190, 5292, 4846, 4904, 5872, 5733, 4986, 4873, 4683, 4755, 4839, 5505, 6046, 4851, 4790, 5130 ], "ch": { "Organic Search": 46683, "Paid Search": 29468, "Paid Social": 30540, "Email": 14834, "Direct": 19882, "Referral": 6169 }, "eng": 90237, "atc": 10794, "co": 6075, "pur": 3766, "rev": 452308.81000000006, "weekendLift": 0.16516250711481129, "peak": [ 27, 6046 ], "half": { "Fall Layers - Video 15s|h1": { "spend": 2842.7300000000005, "pur": 124, "rev": 12115.269999999999 }, "Fall Layers - Carousel|h1": { "spend": 2302.34, "pur": 82, "rev": 8262.42 }, "Trail Boots - UGC|h1": { "spend": 1692.98, "pur": 48, "rev": 4665.0599999999995 }, "Cart reminder - Static|h1": { "spend": 979.9199999999998, "pur": 70, "rev": 6891.589999999999 }, "Fall Layers - Video 15s|h2": { "spend": 4534.849999999999, "pur": 216, "rev": 20807.39 }, "Fall Layers - Carousel|h2": { "spend": 3595.5099999999998, "pur": 126, "rev": 12070.409999999998 }, "Trail Boots - UGC|h2": { "spend": 2484.59, "pur": 66, "rev": 6306.929999999999 }, "Cart reminder - Static|h2": { "spend": 1132.2099999999998, "pur": 73, "rev": 7219.459999999999 } }, "camp": { "Brand - Search": { "plat": "Google Ads", "spend": 2784.55, "conv": 440, "rev": 26385.8 }, "Nonbrand - Jackets": { "plat": "Google Ads", "spend": 6139.57, "conv": 157, "rev": 25302.46 }, "Nonbrand - Boots": { "plat": "Google Ads", "spend": 4614.600000000001, "conv": 100, "rev": 14184.409999999998 }, "Shopping - All products": { "plat": "Google Ads", "spend": 7094.690000000001, "conv": 146, …artiwright_help{ "query": "slides.duplicate, slide.charts.add, ChartOptions, guide charts", "maxChars": 25000 }deck.slides.duplicate: duplicate(slide: Slide | string, at?: number): Slide Copies a slide (with its notes and comments) and puts the copy right after it, or at `at`: `const copy = deck.slides.duplicate("sl_7Q2M4K9A")`. The copy's objects get new ids. Examples: const copy = deck.slides.duplicate("sl_7Q2M4K9A") slide.charts.add: add(type: ChartType, options: ChartOptions): Chart Adds a native, editable chart. "column" is vertical bars, "bar" horizontal bars: `charts.add("column", { frame, categories: ["Q1", "Q2"], series: [{ name: "ARR", values: [4, 6] }] })`. ChartType: Values: column, bar, line, area, pie, doughnut, scatter, bubble, radar, stock, waterfall, funnel, treemap, sunburst, histogram, pareto, boxWhisker, pieOfPie, barOfPie, surface, contour ChartOptions: frame: Frame name?: string alt?: string categories?: Array<string | number | string[]> Category labels (not used by scatter and bubble charts). series: ChartSeriesInput[] title?: string | { text: string; style?: string | TextStyle; overlay?: boolean } legend?: | false | LegendPosition | { position?: LegendPosition; overlay?: boolean; style?: string | TextStyle } Position, false to hide, or options. dataLabels?: boolean | DataLabelsInput Labels on every series. stacked?: boolean | "percent" Column, bar, line and area charts: stack series, or stack to 100%. axes?: { x?: AxisInput; y?: AxisInput; y2?: AxisInput } y2: the secondary value axis on the right, for series with axis: "secondary". gap?: number Space between bar groups, percent of a bar's width (0–500). overlap?: number Bar overlap within a group, percent (-100–100). holeSize?: number Doughnut hole, percent of the diameter (10–90). firstSliceAngle?: number Pie and doughnut rotation in degrees. varyColors?: boolean A different color for every point. radarStyle? (marker | filled | lines) blanks? (gap | zero | span) How gaps draw: leave a gap, drop to zero, or connect across. style?: string | TextStyle Default text for the chart: font, size, color. background?: string border?: string | LineOptions plotBackground?: string upDownBars?: boolean Stock charts with four series (open, high, low, close). highLowLines?: boolean totals?: number[] Waterfall: indexes of the points that are totals (full bars from zero), e.g. [0, 4]. connectorLines?: boolean Waterfall: lines joining the …artiwright_help{ "query": "ChartSeriesInput, AxisInput, DataLabelsInput", "maxChars": 8000 }ChartSeriesInput name?: string values: Array<number | null> One value per category (or per x value); null leaves a gap. x?: number[] X values (scatter and bubble). sizes?: number[] Bubble sizes (bubble). fill?: string line?: string | LineOptions marker?: MarkerInput | false Markers on line, scatter and radar series; false for none. smooth?: boolean dataLabels?: boolean | DataLabelsInput points?: PointInput[] trendline?: TrendlineInput | TrendlineInput[] errorBars?: ErrorBarsInput | ErrorBarsInput[] explode?: number Pie: offset every slice, percent of the radius. format?: string Excel number format of the values, e.g. "0%". type? (column | line | area) Combo charts: draw this series as columns, a line or an area in a column, line or area chart. axis? (primary | secondary) Combo charts: plot against the secondary value axis on the right (set it up with axes.y2). AxisInput title?: string | { text: string; style?: string | TextStyle } min?: number max?: number majorUnit?: number minorUnit?: number format?: string Excel number format of the tick labels, e.g. "$#,##0", "0%". gridlines?: boolean Major gridlines (default: on for the value axis). minorGridlines?: boolean reverse?: boolean logBase?: number hidden?: boolean style?: string | TextStyle line?: string | LineOptions gridlineStyle?: string | LineOptions labels? (nextTo | low | high | none) crossesAt?: number tickMarks? (none | out | in | cross) Also accepted: label → title, name → title, numberFormat → format, showGridlines → gridlines, grid → gridlines, step → majorUnit, interval → majorUnit, visible → hidden: true to hide the axis, logarithmic → logBase DataLabelsInput show?: DataLabelContent | DataLabelContent[] What each label shows (one or several). position? (ctr | inEnd | inBase | outEnd | l | r | t | b | bestFit) Label placement, e.g. "outEnd", "inEnd", "ctr", "inBase", "bestFit", "t", "b", "l", "r". format?: string Excel number format, e.g. "0.0%", "$#,##0". style?: string | TextStyle separator?: string Between the parts of a label, e.g. "\n". Also accepted: numberFormat → format, numFmt → format, placement → position, pos → position, fontSize → styleNumbers are computed. Applying the September updates to the deck now.
artiwright_runconst set = (id, from, to) => deck.resolve(id).replaceText(from, to); // Slide 1 set("sh_5FCK6GF3", "August 2026", "September 2026"); set("sh_VFQQQXEQ", "5 September 2026", "5 October 2026"); // Slide 2 set("sh_Q9WRCJ2Z", "AUGUST", "SEPTEMBER"); set("sh_MMN3Y64M", "Purchases up 1% on higher ad spend", "Purchases up 1% on 12% more ad spend"); set("sh_NTW3BS5A", "142.5K", "147.6K"); set("sh_7JS3T65Y", "+2% vs July", "+4% vs August"); set("sh_M1XEC6ZT", "3,717", "3,766"); set("sh_7GDQRWT9", "+1% vs July", "+1% vs August"); set("sh_1CMVKWM8", "3.9x", "4.5x"); set("sh_J5Q9ZZKR", "Flat vs July", "Up from 3.9x"); set("sh_6RM2YJ1N", "$43.0K", "$48.2K"); set("sh_WCCZ5JBE", "+1% vs July", "+12% vs August"); // Slide 3 set("sh_G73JAKAT", "Aug 30 at 5,254", "Sep 27 at 6,046"); const daily=[4647,4632,4020,4679,5285,5235,4399,4490,4533,4257,4439,5109,5134,4422,5190,5292,4846,4904,5872,5733,4986,4873,4683,4755,4839,5505,6046,4851,4790,5130]; const cats = daily.map((_,i)=> (i%7===0) ? `Sep ${i+1}` : ""); deck.resolve("ch_2H8CVVTW").update({ categories: cats, series: [{ name: "Sessions", values: daily }] }); set("sh_0G1E6REG", "4,598 sessions", "4,919 sessions"); set("sh_0G1E6REG", "33% of visits", "32% of visits"); // Slide 4 set("sh_7X0YQDA4", "Organic Search and Paid Search bring 54% of sessions", "Organic Search and Paid Social bring 52% of sessions"); deck.resolve("ch_8VDQ5C9V").update({ categories: ["Organic Search","Paid Search","Paid Social","Email","Direct","Referral"], series: [{ name: "Sessions", values: [46683,29468,30540,14834,19882,6169] }] }); set("sh_62TNX12Q", "Organic Search: 47,303 sessions\nPaid Search: 29,998 sessions\nPaid Social: 25,008 sessions", "Organic Search: 46,683 sessions\nPaid Social: 30,540 sessions\nPaid Search: 29,468 sessions"); // Slide 5 set("sh_PQCRVMZK", "49 a day", "64 a day"); deck.resolve("ch_2RBK239M").update({ categories: ["Sep 1–7","Sep 8–14","Sep 15–21","Sep 22–28","Sep 29–30"], series: [{ name: "Ad spend a day", values: [1527,1532,1668,1678,1679] }, { name: "Paid conversions a day", values: [59.3,56.9,62.4,62.9,71] }] }); set("sh_9WMZAK70", "46 a day before the 15th, 49 after", "58 a day before the 15th, 64 after"); set("sh_9WMZAK70", "$42,993", "$48,197"); set("sh_9WMZAK70", "$29 a conversion", "$26 a conversion"); set("sh_9WMZAK70", "ROAS 3.9x", "ROAS 4.5x"); // Slide 7 set("sh_9RZAPXHF", "Prospecting - Summer led on revenue: $35,590", "Prospecting - Fall Layers led on revenue: $64,227"); deck.resolve("tb_6CV3XMC9").update({ rows: [ ["Campaign","Platform","Spend","Purchases","Revenue"], ["Prospecting - Fall Layers","Meta","$17,453","662","$64,227"], ["PMax - Fall Layers","Google Ads","$7,998","184","$41,698"], ["Shopping - All products","Google Ads","$7,095","146","$33,150"], ["Brand - Search","Google Ads","$2,785","440","$26,386"], ["Nonbrand - Jackets","Google Ads","$6,140","157","$25,302"], ["Total, top five","","$41,471","1,589","$190,763"]] }); return "ok";{ "ok": true, "value": "ok", "logs": [], "created": [], "removed": [], "slides": 8, "version": 1, "lint": { "errors": 0, "warnings": 0 } }artiwright_run// Slide 6: replace the picture-only funnel with a native funnel in the same frame const s6 = deck.resolve("sl_KCWY68S6"); s6.remove("sh_H78Q3BYR"); const f = s6.charts.add("funnel", { name: "chart", frame: { x: 88, y: 208, w: 639, h: 440 }, categories: ["Sessions: 147,576","Engaged: 90,237","Added to cart: 10,794","Checkout: 6,075","Purchased: 3,766"], series: [{ name: "September funnel", values: [147576,90237,10794,6075,3766], fill: "accent1" }], dataLabels: false, legend: false, alt: "Funnel: 147,576 sessions, 90,237 engaged, 10,794 added to cart, 6,075 checkouts, 3,766 purchases", }); deck.resolve("sh_2ZW45210").replaceText("34% of carts became orders", "35% of carts became orders"); deck.resolve("sh_2ZW45210").replaceText("7,084 carts abandoned", "7,028 carts abandoned"); // Slide 8: plan deck.resolve("sh_R3EXRZSP").replaceText("Plan for September", "Plan for October"); const items = { sh_5V0HNX8E: "Shift Meta prospecting budget to the Fall Layers video", sh_QHDZK4QN: "Scale Performance Max - Fall Layers (5.2x ROAS)", sh_FR7CY2B2: "Pause Trail Boots UGC, the weakest new ad", sh_Y6XED17W: "Reconcile platform conversions with GA4 purchases", }; for (const [id, t] of Object.entries(items)) { const sh = deck.resolve(id); sh.replaceText(sh.text ?? deck.inspect({target:id})[0]?.text, t); } return f.id;{ "ok": true, "value": "ch_4RM3JYF3", "logs": [], "created": [ "ch_4RM3JYF3" ], "removed": [ "sh_H78Q3BYR" ], "slides": 8, "version": 2, "lint": { "errors": 0, "warnings": 0 } }artiwright_inspect{ "slide": 8, "kind": "text" }{"kind":"text","id":"sh_R3EXRZSP","slide":"sl_3SPTDYHB","name":"title","bbox":[72,56,1136,78],"text":"Plan for October","chars":16,"lines":1,"fontPx":48} {"kind":"text","id":"sh_WWY8TDEC","slide":"sl_3SPTDYHB","name":"TextBox 4","bbox":[72,161,56,56],"text":"1","chars":1,"lines":1,"fontPx":24} {"kind":"text","id":"sh_5V0HNX8E","slide":"sl_3SPTDYHB","name":"TextBox 5","bbox":[152,169,650,77],"text":"Shift Meta prospecting budget to the Fall Layers video","chars":54,"lines":2,"fontPx":30} {"kind":"text","id":"sh_7TJSK7SB","slide":"sl_3SPTDYHB","name":"TextBox 7","bbox":[72,235,56,56],"text":"2","chars":1,"lines":1,"fontPx":24} {"kind":"text","id":"sh_QHDZK4QN","slide":"sl_3SPTDYHB","name":"TextBox 8","bbox":[152,243,552,77],"text":"Scale Performance Max - Fall Layers (5.2x ROAS)","chars":47,"lines":2,"fontPx":30} {"kind":"text","id":"sh_RPVPF0KA","slide":"sl_3SPTDYHB","name":"TextBox 10","bbox":[72,309,56,56],"text":"3","chars":1,"lines":1,"fontPx":24} {"kind":"text","id":"sh_FR7CY2B2","slide":"sl_3SPTDYHB","name":"TextBox 11","bbox":[152,317,369,77],"text":"Pause Trail Boots UGC, the weakest new ad","chars":41,"lines":2,"fontPx":30} {"kind":"text","id":"sh_A9HT43RP","slide":"sl_3SPTDYHB","name":"TextBox 13","bbox":[72,383,56,56],"text":"4","chars":1,"lines":1,"fontPx":24} {"kind":"text","id":"sh_Y6XED17W","slide":"sl_3SPTDYHB","name":"TextBox 14","bbox":[152,391,348,116],"text":"Reconcile platform conversions with GA4 purchases","chars":49,"lines":3,"fontPx":30}artiwright_runerrorfor (const id of ["sh_5V0HNX8E","sh_QHDZK4QN","sh_FR7CY2B2","sh_Y6XED17W"]) { const r = deck.inspect({ target: id }).find(x => x.id === id); deck.resolve(id).update({ frame: { x: 152, y: r.bbox[1], w: 1000, h: 40 } }); } deck.resolve("sl_3SPTDYHB").notes?.set?.("What we propose for next month; to confirm on the monthly call."); // New creative slide, built from the Paid media slide so it keeps the look const c = deck.slides.duplicate("sl_0R0QWP9X", 7); const recs = deck.inspect({ slide: c.id }); const by = n => recs.find(r => r.name === n); const eyebrow = recs.find(r => r.text === "PAID MEDIA").id; const title = recs.find(r => r.name === "title").id; const bullets = recs.find(r => r.name === "bullets").id; const chart = recs.find(r => r.kind === "chart").id; deck.resolve(eyebrow).replaceText("PAID MEDIA", "NEW CREATIVE"); deck.resolve(title).replaceText("Paid conversions rose to 64 a day after the 15th", "The Fall Layers video returned $4.46 per $1 spent"); deck.resolve(bullets).replaceText("58 a day before the 15th, 64 after\n$48,197 across Google and Meta, $26 a conversion\nROAS 4.5x on platform-reported revenue", "340 purchases and $32,923 revenue on $7,378\n$21.70 a purchase, vs $28.36 for the carousel\nROAS held up as spend rose: 4.3x before the 15th, 4.6x after"); c.remove(chart); c.charts.add("bar", { name: "chart", frame: { x: 88, y: 208, w: 639, h: 440 }, categories: ["Trail Boots - UGC", "Fall Layers - Carousel", "Fall Layers - Video 15s"], series: [{ name: "ROAS", values: [2.63, 3.45, 4.46], fill: "accent1", format: "0.0\"x\"", dataLabels: { position: "outEnd", format: "0.0\"x\"" } }], axes: { y: { gridlines: false, hidden: true, min: 0 } }, legend: false, alt: "ROAS of the three new Fall Layers ads on Meta in September: Video 15s 4.5x, Carousel 3.4x, Trail Boots UGC 2.6x", }); return { id: c.id, notes: deck.inspect({ slide: c.id, kind: "notes" }) };{ "ok": false, "error": { "name": "TypeError", "message": "deck.inspect(...).find is not a function" }, "logs": [], "created": [], "removed": [], "slides": 8, "version": 2, "lint": { "errors": 0, "warnings": 0 } }artiwright_runerrorconst insp = q => { const v = deck.inspect(q); return typeof v === "string" ? v.trim().split("\n").map(l => JSON.parse(l)) : v; }; const ys = { sh_5V0HNX8E: 169, sh_QHDZK4QN: 243, sh_FR7CY2B2: 317, sh_Y6XED17W: 391 }; for (const [id, y] of Object.entries(ys)) deck.resolve(id).update({ frame: { x: 152, y, w: 1000, h: 40 } }); const plan = deck.resolve("sl_3SPTDYHB"); const c = deck.slides.duplicate("sl_0R0QWP9X", 7); const recs = insp({ slide: c.id }); const id = f => recs.find(f).id; deck.resolve(id(r => r.text === "PAID MEDIA")).replaceText("PAID MEDIA", "NEW CREATIVE"); deck.resolve(id(r => r.name === "title" && r.kind === "text")).replaceText("Paid conversions rose to 64 a day after the 15th", "The Fall Layers video returned $4.46 per $1 spent"); deck.resolve(id(r => r.name === "bullets")).replaceText("58 a day before the 15th, 64 after\n$48,197 across Google and Meta, $26 a conversion\nROAS 4.5x on platform-reported revenue", "340 purchases and $32,923 revenue on $7,378\n$21.70 a purchase, vs $28.36 for the carousel\nROAS held up as spend rose: 4.3x before the 15th, 4.6x after"); c.remove(id(r => r.kind === "chart")); c.charts.add("bar", { name: "chart", frame: { x: 88, y: 208, w: 639, h: 440 }, categories: ["Trail Boots - UGC", "Fall Layers - Carousel", "Fall Layers - Video 15s"], series: [{ name: "ROAS", values: [2.63, 3.45, 4.46], fill: "accent1", format: "0.0\"x\"", dataLabels: { position: "outEnd", format: "0.0\"x\"" } }], axes: { y: { gridlines: false, hidden: true, min: 0 } }, legend: false, alt: "ROAS of the three new Fall Layers ads on Meta in September: Video 15s 4.5x, Carousel 3.4x, Trail Boots UGC 2.6x", }); return { id: c.id, planKeys: Object.keys(plan).concat(Object.getOwnPropertyNames(Object.getPrototypeOf(plan))), notes: insp({ slide: c.id, kind: "notes" }) };{ "ok": false, "error": { "name": "TypeError", "message": "recs.find is not a function" }, "logs": [], "created": [], "removed": [], "slides": 8, "version": 2, "lint": { "errors": 0, "warnings": 0 } }artiwright_runconst v = deck.inspect({ slide: 5 }); return { t: typeof v, keys: Object.keys(v).slice(0,10), s: JSON.stringify(v).slice(0,600) };{ "ok": true, "value": { "t": "object", "keys": [ "ndjson", "records", "truncated", "notices" ], "s": "{\"ndjson\":\"{\\\"kind\\\":\\\"slide\\\",\\\"id\\\":\\\"sl_0R0QWP9X\\\",\\\"index\\\":5,\\\"layout\\\":\\\"Blank\\\",\\\"title\\\":\\\"Paid conversions rose to 64 a day after the 15th\\\",\\\"elements\\\":6,\\\"notes\\\":true}\\n{\\\"kind\\\":\\\"text\\\",\\\"id\\\":\\\"sh_23XSB7SM\\\",\\\"slide\\\":\\\"sl_0R0QWP9X\\\",\\\"name\\\":\\\"eyebrow\\\",\\\"bbox\\\":[72,56,1136,24],\\\"text\\\":\\\"PAID MEDIA\\\",\\\"chars\\\":10,\\\"lines\\\":1,\\\"fontPx\\\":18}\\n{\\\"kind\\\":\\\"text\\\",\\\"id\\\":\\\"sh_PQCRVMZK\\\",\\\"slide\\\":\\\"sl_0R0QWP9X\\\",\\\"name\\\":\\\"title\\\",\\\"bbox\\\":[72,87,1136,78],\\\"text\\\":\\\"Paid conversions rose to 64 a day after the 15th\\\",\\\"chars\\\":48,\\\"lines\\\":1,\\\"fontPx\\\":48}\\n{\\\"kind\\\":\\\"shape\\\",\\\"id" }, "logs": [], "created": [], "removed": [], "slides": 8, "version": 3, "lint": { "errors": 0, "warnings": 0 } }Adding the new-creative slide next; the API returned a different shape than I expected, so I'm adjusting the code.
artiwright_runconst insp = q => deck.inspect(q).records; const ys = { sh_5V0HNX8E: 169, sh_QHDZK4QN: 243, sh_FR7CY2B2: 317, sh_Y6XED17W: 391 }; for (const [id, y] of Object.entries(ys)) deck.resolve(id).update({ frame: { x: 152, y, w: 1000, h: 40 } }); const plan = deck.resolve("sl_3SPTDYHB"); const c = deck.slides.duplicate("sl_0R0QWP9X", 7); const recs = insp({ slide: c.id }); const id = f => recs.find(f).id; deck.resolve(id(r => r.text === "PAID MEDIA")).replaceText("PAID MEDIA", "NEW CREATIVE"); deck.resolve(id(r => r.name === "title" && r.kind === "text")).replaceText("Paid conversions rose to 64 a day after the 15th", "The Fall Layers video returned $4.46 per $1 spent"); deck.resolve(id(r => r.name === "bullets")).replaceText("58 a day before the 15th, 64 after\n$48,197 across Google and Meta, $26 a conversion\nROAS 4.5x on platform-reported revenue", "340 purchases and $32,923 revenue on $7,378\n$21.70 a purchase, vs $28.36 for the carousel\nROAS held up as spend rose: 4.3x before the 15th, 4.6x after"); c.remove(id(r => r.kind === "chart")); c.charts.add("bar", { name: "chart", frame: { x: 88, y: 208, w: 639, h: 440 }, categories: ["Trail Boots - UGC", "Fall Layers - Carousel", "Fall Layers - Video 15s"], series: [{ name: "ROAS", values: [2.63, 3.45, 4.46], fill: "accent1", format: "0.0\"x\"", dataLabels: { position: "outEnd", format: "0.0\"x\"" } }], axes: { y: { gridlines: false, hidden: true, min: 0 } }, legend: false, alt: "ROAS of the three new Fall Layers ads on Meta in September: Video 15s 4.5x, Carousel 3.4x, Trail Boots UGC 2.6x", }); const proto = Object.getOwnPropertyNames(Object.getPrototypeOf(plan)); return { id: c.id, proto, notes: insp({ slide: c.id, kind: "notes" }) };{ "ok": true, "value": { "id": "sl_FTZMJ26N", "proto": [ "constructor", "size", "id", "background", "fill", "comment", "addComposition", "render", "export", "notes", "find", "resolve", "topIndex", "topLevel", "connect", "group", "remove", "parentOf", "bringToFront", "sendToBack", "bringForward", "sendBackward", "move", "toProto" ], "notes": [ { "kind": "notes", "slide": "sl_FTZMJ26N", "chars": 51, "text": "Google Ads and Meta combined, by week of the month." } ] }, "logs": [], "created": [ "sl_FTZMJ26N", "sh_YERTY1FV", "sh_HMCRCZ1K", "sh_6DHAVT1H", "sh_PNE5S1EP", "sh_A5V7X9Z6", "ch_2GDMJYRB" ], "removed": [], "slides": 9, "version": 3, "lint": { "errors": 0, "warnings": 0 } }artiwright_help{ "query": "slide.notes", "maxChars": 2000 }slide.notes: TextInput | undefined Speaker notes, shown in presenter view.artiwright_rundeck.resolve("sl_FTZMJ26N").notes = "Best new Meta ad by platform-reported ROAS. New this month: the three Fall Layers prospecting ads; the cart retargeting ad is not counted."; deck.resolve("sl_3SPTDYHB").notes = "What we propose for next month; to confirm on the monthly call."; return deck.inspect({ kind: "notes" }).records;{ "ok": true, "value": [ { "kind": "notes", "slide": "sl_NRCKSZ25", "chars": 52, "text": "Monthly report for the Harbor & Pine marketing team." }, { "kind": "notes", "slide": "sl_08GNZ9J9", "chars": 80, "text": "Four numbers the client tracks; ROAS is platform-reported revenue over ad spend." }, { "kind": "notes", "slide": "sl_RQPHX29F", "chars": 38, "text": "Daily sessions from GA4, all channels." }, { "kind": "notes", "slide": "sl_QR5PPA9M", "chars": 43, "text": "Session share by GA4 default channel group." }, { "kind": "notes", "slide": "sl_0R0QWP9X", "chars": 51, "text": "Google Ads and Meta combined, by week of the month." }, { "kind": "notes", "slide": "sl_KCWY68S6", "chars": 35, "text": "GA4 ecommerce funnel, all channels." }, { "kind": "notes", "slide": "sl_3XRP5YAE", "chars": 48, "text": "Top five campaigns by platform-reported revenue." }, { "kind": "notes", "slide": "sl_FTZMJ26N", "chars": 138, "text": "Best new Meta ad by platform-reported ROAS. New this month: the three Fall Layers prospecting ads; the cart retargeting ad is not counted." }, { "kind": "notes", "slide": "sl_3SPTDYHB", "chars": 63, "text": "What we propose for next month; to confirm on the monthly call." } ], "logs": [], "created": [], "removed": [], "slides": 9, "version": 4, "lint": { "errors": 0, "warnings": 0 } }artiwright_render{ "slides": [ 2, 3, 4, 5, 6, 7 ] }Slide 2[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443438-axhfve.png]Slide 3[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443438-slryyw.png]Slide 4[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443438-2vucrg.png]Slide 5[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443438-vezn6t.png]Slide 6[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443438-n3iyvs.png]Slide 7[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443438-pw5yo0.png]





artiwright_render{ "slides": [ 1, 8, 9 ] }Slide 1[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443692-ifz7re.png]Slide 8[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443692-bfcpz2.png]Slide 9[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826443692-rxa9la.png]


Two bullet lists (slides 4 and 8) didn't take the multi-line replacement; fixing those line by line.
artiwright_runconst r = (id, a, b) => deck.resolve(id).replaceText(a, b); r("sh_62TNX12Q", "Organic Search: 47,303 sessions", "Organic Search: 46,683 sessions"); r("sh_62TNX12Q", "Paid Search: 29,998 sessions", "Paid Social: 30,540 sessions"); r("sh_62TNX12Q", "Paid Social: 25,008 sessions", "Paid Search: 29,468 sessions"); const b = deck.inspect({ slide: "sl_FTZMJ26N" }).records.find(x => x.name === "bullets").id; r(b, "58 a day before the 15th, 64 after", "340 purchases, $32,923 revenue on $7,378"); r(b, "$48,197 across Google and Meta, $26 a conversion", "$21.70 a purchase vs $28.36 for the carousel"); r(b, "ROAS 4.5x on platform-reported revenue", "ROAS held as spend rose: 4.3x before the 15th, 4.6x after"); const ch = deck.inspect({ slide: "sl_FTZMJ26N", kind: "chart" }).records[0].id; deck.resolve(ch).update({ series: [{ name: "ROAS", values: [2.626, 3.447, 4.463], fill: "accent1", format: "0.0\"x\"", dataLabels: { position: "outEnd", format: "0.0\"x\"" } }] }); return [deck.inspect({ target: "sh_62TNX12Q" }).records.find(x=>x.id==="sh_62TNX12Q").text, deck.inspect({ target: b }).records.find(x=>x.id===b)];{ "ok": true, "value": [ "Organic Search: 46,683 sessions\nPaid Social: 30,540 sessions\nPaid Search: 29,468 sessions", { "kind": "text", "id": "sh_A5V7X9Z6", "slide": "sl_FTZMJ26N", "name": "bullets", "bbox": [ 782, 349, 426, 227 ], "text": "340 purchases, $32,923 revenue on $7,378\n$21.70 a purchase vs $28.36 for the carousel\nROAS held as spend rose: 4.3x before the 15th, 4.6x after", "chars": 143, "lines": 6, "fontPx": 24 } ], "logs": [], "created": [], "removed": [], "slides": 9, "version": 5, "lint": { "errors": 0, "warnings": 0 } }artiwright_render{ "slides": [ 4, 8 ] }Slide 4[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826456291-5qu5uf.png]Slide 8[Image: source: <render>sers-venu-Documents-Personal-paperwright-out-agent-runs-agency-report-refresh-work/8bfd9099-f5b7-4465-a290-1c796ffebba3/tool-results/mcp-artiwright-blob-1791826456291-zac61a.png]

artiwright_inspect{ "kind": "thread,image" }{"kind":"notice","message":"No records matched. Check kind=, slide= and search=."}artiwright_inspect{ "search": "August|July|Aug |Summer|Back-to-school|142|3,717|43\\.0|3\\.9x" }{"kind":"text","id":"sh_7JS3T65Y","slide":"sl_08GNZ9J9","name":"TextBox 7","bbox":[104,447,202,27],"text":"+4% vs August","chars":13,"lines":1,"fontPx":20} {"kind":"text","id":"sh_7GDQRWT9","slide":"sl_08GNZ9J9","name":"TextBox 11","bbox":[394,447,202,27],"text":"+1% vs August","chars":13,"lines":1,"fontPx":20} {"kind":"text","id":"sh_J5Q9ZZKR","slide":"sl_08GNZ9J9","name":"TextBox 15","bbox":[684,447,202,27],"text":"Up from 3.9x","chars":12,"lines":1,"fontPx":20} {"kind":"text","id":"sh_WCCZ5JBE","slide":"sl_08GNZ9J9","name":"TextBox 19","bbox":[974,447,202,27],"text":"+12% vs August","chars":14,"lines":1,"fontPx":20}artiwright_runconst b = "sh_A5V7X9Z6"; deck.resolve(b).replaceText("340 purchases, $32,923 revenue on $7,378", "$32,923 revenue from $7,378 spend"); deck.resolve(b).replaceText("$21.70 a purchase vs $28.36 for the carousel", "340 purchases at $21.70 each, vs $28.36 for the carousel"); return deck.inspect({ target: b }).records.find(x => x.id === b).text;{ "ok": true, "value": "$32,923 revenue from $7,378 spend\n340 purchases at $21.70 each, vs $28.36 for the carousel\nROAS held as spend rose: 4.3x before the 15th, 4.6x after", "logs": [], "created": [], "removed": [], "slides": 9, "version": 6, "lint": { "errors": 0, "warnings": 0 } }artiwright_lint{}{ "ok": true, "errors": 0, "warnings": 0, "findings": [], "next": "No errors: call artiwright_finalize now. You can still improve the deck afterwards and finalize again under a new name." }artiwright_finalizeharbor-pine-september-2026.pptx{ "file": "harbor-pine-september-2026.pptx", "requirements": { "slideCount": 9, "nativeCharts": [ "ch_2H8CVVTW", "ch_8VDQ5C9V", "ch_2RBK239M", "ch_4RM3JYF3" ], "nativeTables": [ "tb_6CV3XMC9" ], "fonts": { "allowed": [ "Aptos", "Aptos Display" ] }, "tableTotals": [ { "table": "tb_6CV3XMC9", "columns": [ 2, 3, 4 ], "totalRow": 6 } ] } }{ "ok": true, "blocking": [], "warnings": [], "checks": [ { "step": 1, "code": "path", "ok": true }, { "step": 2, "code": "size", "ok": true }, { "step": 2, "code": "validate", "ok": true }, { "step": 3, "code": "package", "ok": true }, { "step": 4, "code": "slideCount", "ok": true }, { "step": 4, "code": "nativeCharts", "ok": true }, { "step": 4, "code": "nativeTables", "ok": true }, { "step": 4, "code": "tableTotals", "ok": true }, { "step": 4, "code": "fonts", "ok": true }, { "step": 5, "code": "chartData", "ok": true }, { "step": 6, "code": "lint", "ok": true }, { "step": 7, "code": "reimport", "ok": true }, { "step": 8, "code": "publish", "ok": true } ], "path": "./sessions/default/outputs/harbor-pine-september-2026.pptx", "sha256": "7c072f9dda4468599c14c3da4a817b3da274e0ac8d28e37ebbb1f618a0d3d644", "bytes": 105953, "manifestPath": "./sessions/default/outputs/harbor-pine-september-2026.pptx.manifest.ndjson", "receiptPath": "./sessions/default/.artiwright/receipts/harbor-pine-september-2026.7c072f9dda44.1791826467794.receipt.json" }
I've updated the September deck and saved it as harbor-pine-september-2026.pptx. The tool wrote it to its own outputs folder, not next to the August file, and I can't copy files from here:
./sessions/default/outputs/harbor-pine-september-2026.pptx
The deck is now 9 slides with August's layout, colours and fonts unchanged. The final file check passed: the file is valid, all charts and the table are editable, the table totals add up, and no layout problems were flagged. No comments or hidden objects were left in it.
What changed
- Cover: "September 2026 results", sent 5 October 2026.
- At a glance: sessions 147.6K (+4% vs August), purchases 3,766 (+1%), ROAS 4.5x (up from 3.9x), ad spend $48.2K (+12%). Headline: "Purchases up 1% on 12% more ad spend."
- Traffic: sessions peaked on Sep 27 at 6,046. The average was 4,919 a day, weekends ran 17% above weekdays, and Organic Search brought 32% of visits.
- Channels: Paid Social overtook Paid Search. The headline is now "Organic Search and Paid Social bring 52% of sessions."
- Paid media: 58 paid conversions a day before the 15th and 64 after. Spend was $48,197, or $26 a conversion.
- Conversion: the August funnel was a picture that couldn't be edited, so I replaced it with an editable funnel chart that looks the same. 2.6% of sessions ended in a purchase, 35% of carts became orders, and 7,028 carts were abandoned.
- Campaigns: Prospecting - Fall Layers (Meta) led on revenue with $64,227. PMax - Fall Layers is new in the top five.
- New creative (new slide 8): the Fall Layers 15-second video had a 4.5x ROAS, against 3.4x for the carousel and 2.6x for the Trail Boots UGC ad. It brought $32,923 in revenue at $21.70 a purchase, and its ROAS held up as spend rose.
- Plan for October: move Meta budget to the video, scale PMax - Fall Layers (5.2x ROAS), pause Trail Boots UGC, and reconcile what the ad platforms report with GA4.
Please check before it goes out
- Send date: the brief says the 5th, but today is 12 October, so "Sent 5 October 2026" is already past. Tell me the real date and I'll change it.
- October plan: I drafted it from September's numbers; nobody has agreed it yet. I changed its speaker note from "agreed on the monthly call" to "to confirm on the monthly call".
- ROAS vs purchases: the ad platforms report ROAS rising from 3.9x to 4.5x, but GA4 purchases rose only 1%. The client may ask about this; plan item 4 covers it.
- "New" creative: I counted only the three Fall Layers ads as new. The cart retargeting ad has a higher ROAS (6.7x), but I assumed it was already running before September. It's also aimed at people who already added to cart, so the comparison isn't fair.
- Table totals: the total row adds up the rounded figures shown, so spend and revenue are each $1 off the exact sums.
Lint during the run
Nothing to fix
Lint and finalize found nothing: the layout was the client's own, and the agent kept to it.
- lintNo findings
- finalizeharbor-pine-september-2026.pptxNo findings
Finalize report
Nothing is published until these pass. Finalize checks the real file and never overwrites one.
How this example was made: the request above went to Claude Code with Artiwright's MCP server and nothing else, using agent-runs/run.mjs. The files are what it finalized, opened in PowerPoint and Excel for the screenshots. Companies, people and figures are made up.











