Connect your design to Google Sheets to automatically save data. This is perfect for collecting emails, contact forms, waitlists, or anything that requires a very light database.
First, switch to /Ask mode in Magic Patterns to ask what columns and Apps Script you need for your specific design:Example Prompt:
I want to connect this design to Google Sheets to save form submissions.What column headers should I add to my Google Sheet, and what Google Apps Script should I use to receive the data?Please note my plan is to structure it like this:const GOOGLE_SCRIPT_URL = 'TODO: I WILL PROVIDE YOU WITH THIS'export async function submitToGoogleSheets( data: Record<string, any>,): Promise<{ success: boolean; error?: string }> { try { const response = await fetch(GOOGLE_SCRIPT_URL, { method: 'POST', mode: 'no-cors', // Required for Google Apps Script headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(data), }) return { success: true } } catch (error) { console.error('Error submitting to Google Sheets:', error) return { success: false, error: error instanceof Error ? error.message : 'Unknown error', } }}
The Magic Patterns AI will generally guide you on Step 2 and 3 after the
prompt from Step 1, but we have included the steps below for reference.
Use this prompt in Magic Patterns, replacing the URL with your Web app URL from step 3:Example Prompt:
[YOUR LINK FROM STEP 3]Here is my Google Web app URL!
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Magic Patterns","description":"Magic Patterns is an AI design tool for product teams. Create prototypes with your real design system, hand off to engineering, and speed up your software development lifecycle.","colors":{"primary":"#9784BF","light":"#FFFFFF","dark":"#001617"},"logo":{"light":"https://mintcdn.com/magicpatterns/owWJh7xQtXBlIJ16/logo/magicpatterns_logo_light.svg?fit=max\u0026auto=format\u0026n=owWJh7xQtXBlIJ16\u0026q=85\u0026s=2a7a773a8194091ebfe3e1c0104f2c92","dark":"https://mintcdn.com/magicpatterns/owWJh7xQtXBlIJ16/logo/magicpatterns_logo_dark.svg?fit=max\u0026auto=format\u0026n=owWJh7xQtXBlIJ16\u0026q=85\u0026s=20e5d64413256401004cd68c98e798d0"},"favicon":"https://mintcdn.com/magicpatterns/owWJh7xQtXBlIJ16/icon.svg?fit=max\u0026auto=format\u0026n=owWJh7xQtXBlIJ16\u0026q=85\u0026s=7854f15b01790c1d076cf1f1e10c61b0","api":{"openapi":["openapi-v3.yml","openapi.yml"]},"navbar":{"links":[{"href":"https://www.magicpatterns.com/customers","label":"Case Studies"}],"primary":{"type":"button","label":"Start designing","href":"https://www.magicpatterns.com"}},"footer":{"socials":{"twitter":"https://x.com/magicpatterns","github":"https://github.com/magicpatterns","linkedin":"https://www.linkedin.com/company/magicpatterns"}},"integrations":{"intercom":{"appId":"ftkg08cn"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"magicpatterns","hasAudioNarration":false,"actualSubdomain":"magicpatterns","customDomains":["www.magicpatterns.com"],"gitSource":{"type":"github","owner":"magicpatterns","repo":"patterns","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecbba141290b71c3828cbd","collectionId":"2e385020-b02a-471f-85a4-79efe7f6e8f4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecbba141290b71c3828cbd"},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aece1b3a84f97fba518a7c7","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Publish and Integrate","count":37},{"language":"default","tag":"Designs","count":18},{"language":"default","tag":"Introduction","count":15},{"language":"default","tag":"API","count":14},{"language":"default","tag":"Design Systems","count":14},{"language":"default","tag":"Integrations","count":11},{"language":"default","tag":"Teams and Enterprise","count":9},{"language":"default","tag":"Workflows and Video Guide","count":8},{"language":"default","tag":"Prompting and iterating","count":6},{"language":"default","tag":"Importing your Design System","count":6}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@magicpatterns.com","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-tabs-item[href^=\"/documentation/magic-os/\"]::after{content:\"NEW\";margin-left:0.375rem;padding:0.0625rem 0.375rem;border-radius:9999px;font-size:0.625rem;font-weight:600;line-height:1rem;color:rgb(var(--primary));background-color:rgb(var(--primary) / 0.1)}"}],"page":{"pagePath":"documentation/integrations/google-sheets","slug":"/documentation/integrations/google-sheets","pageMetadata":{"title":"Google Sheets","description":"Learn how to save submissions to Google Sheets from your Magic Patterns design","icon":"google","href":"/documentation/integrations/google-sheets"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Learn how to save submissions to Google Sheets from your Magic Patterns design\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Connect your design to Google Sheets to automatically save data. This is perfect for collecting emails, contact forms, waitlists, or anything that requires a very light database.`}),`\n`,_jsx(Heading,{level:`2`,id:`step-by-step-tutorial`,children:`Step by Step Tutorial`}),`\n`,_jsx(Heading,{level:`3`,id:`1-get-your-custom-apps-script`,children:`1. Get Your Custom Apps Script`}),`\n`,_jsxs(_components.p,{children:[`First, switch to `,_jsx(_components.code,{children:`/Ask`}),` mode in Magic Patterns to ask what columns and Apps Script you need for your specific design:`]}),`\n`,_jsx(_components.p,{children:`Example Prompt:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`31`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`I want to connect this design to Google Sheets to save form submissions.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`What column headers should I add to my Google Sheet, and what Google Apps Script should I use to receive the data?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Please note my plan is to structure it like this:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`const GOOGLE_SCRIPT_URL = 'TODO: I WILL PROVIDE YOU WITH THIS'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`export async function submitToGoogleSheets(`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` data: Record\u003cstring, any>,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`): Promise\u003c{ success: boolean; error?: string }> {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` try {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` const response = await fetch(GOOGLE_SCRIPT_URL, {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` method: 'POST',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` mode: 'no-cors', // Required for Google Apps Script`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` headers: {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 'Content-Type': 'application/json',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` body: JSON.stringify(data),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` return { success: true }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` } catch (error) {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` console.error('Error submitting to Google Sheets:', error)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` return {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` success: false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` error: error instanceof Error ? error.message : 'Unknown error',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://cdn.magicpatterns.com/static/docs/Gsheet-prompt1.png`,alt:`Using /Ask mode to get your custom Apps Script`})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`The Magic Patterns AI will generally guide you on Step 2 and 3 after the\nprompt from Step 1, but we have included the steps below for reference.`})}),`\n`,_jsx(Heading,{level:`3`,id:`2-create-your-google-sheet`,children:`2. Create Your Google Sheet`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.a,{href:`https://sheets.google.com`,children:`sheets.google.com`}),` and create a new sheet`]}),`\n`,_jsx(_components.li,{children:`Add the column headers from Step 1 in the first row`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-set-up-google-apps-script`,children:`3. Set Up Google Apps Script`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In your Google Sheet, go to `,_jsx(_components.strong,{children:`Extensions > Apps Script`})]}),`\n`,_jsx(_components.li,{children:`Paste the Apps Script code from step 1`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Deploy > New deployment`})]}),`\n`,_jsxs(_components.li,{children:[`Click the gear icon and choose `,_jsx(_components.strong,{children:`Web app`})]}),`\n`,_jsxs(_components.li,{children:[`Set “Execute as” to `,_jsx(_components.strong,{children:`Me`})]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Deploy`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`IMPORTANT:`}),` Set “Who has access” to Anyone`]}),`\n`,_jsx(_components.li,{children:`Authorize the app when prompted`}),`\n`,_jsxs(_components.li,{children:[`Copy the `,_jsx(_components.strong,{children:`Web app URL`}),` (looks like: `,_jsx(_components.code,{children:`https://script.google.com/macros/s/.../exec`}),`)`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://cdn.magicpatterns.com/static/docs/Gsheet-webapp.png`,alt:`Setting up the Web app deployment`})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`IMPORTANT: Set “Who has access” to Anyone, otherwise you will likely get a\nCORS error.`})}),`\n`,_jsx(Heading,{level:`3`,id:`4-connect-your-design`,children:`4. Connect Your Design`}),`\n`,_jsx(_components.p,{children:`Use this prompt in Magic Patterns, replacing the URL with your Web app URL from step 3:`}),`\n`,_jsx(_components.p,{children:`Example Prompt:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[YOUR LINK FROM STEP 3]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Here is my Google Web app URL!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://cdn.magicpatterns.com/static/docs/Gsheet-url.png`,alt:`Copying the Web app URL`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Google Sheets","description":"Learn how to save submissions to Google Sheets from your Magic Patterns design","icon":"google","href":"/documentation/integrations/google-sheets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Step by Step Tutorial","slug":"step-by-step-tutorial","depth":2,"children":[{"title":"1. Get Your Custom Apps Script","slug":"1-get-your-custom-apps-script","depth":3,"children":[]},{"title":"2. Create Your Google Sheet","slug":"2-create-your-google-sheet","depth":3,"children":[]},{"title":"3. Set Up Google Apps Script","slug":"3-set-up-google-apps-script","depth":3,"children":[]},{"title":"4. Connect Your Design","slug":"4-connect-your-design","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"magicpatterns","siteName":"Magic Patterns","title":"Google Sheets - Magic Patterns","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-01T01:12:38.840Z","originalFileLocation":"documentation/integrations/google-sheets.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Learn how to save submissions to Google Sheets from your Magic Patterns design\">\u003cmeta data-mint-head name=\"application-name\" content=\"Magic Patterns\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Google Sheets - Magic Patterns\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how to save submissions to Google Sheets from your Magic Patterns design\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Magic Patterns\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://magicpatterns.mintlify.site/docs/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Google+Sheets\u0026amp;description=Learn+how+to+save+submissions+to+Google+Sheets+from+your+Magic+Patterns+design\u0026amp;theme=58b3985732190453b80d7ef2\u0026amp;signature=db0658c3424a7f0b022ae85b34c11bbb96723b95178807d48bd01f1b49e81d14\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Google Sheets - Magic Patterns\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how to save submissions to Google Sheets from your Magic Patterns design\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://magicpatterns.mintlify.site/docs/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Google+Sheets\u0026amp;description=Learn+how+to+save+submissions+to+Google+Sheets+from+your+Magic+Patterns+design\u0026amp;theme=58b3985732190453b80d7ef2\u0026amp;signature=db0658c3424a7f0b022ae85b34c11bbb96723b95178807d48bd01f1b49e81d14\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/magicpatterns/7ZqRXq6s1-Htf8k5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Magic Patterns\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9784BF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/documentation/integrations/google-sheets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.magicpatterns.com/#organization\",\"name\":\"Magic Patterns\",\"url\":\"https://www.magicpatterns.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/magicpatterns/owWJh7xQtXBlIJ16/logo/magicpatterns_logo_light.svg?fit=max\u0026auto=format\u0026n=owWJh7xQtXBlIJ16\u0026q=85\u0026s=2a7a773a8194091ebfe3e1c0104f2c92\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.magicpatterns.com/docs#website\",\"name\":\"Magic Patterns\",\"url\":\"https://www.magicpatterns.com/docs\",\"publisher\":{\"@id\":\"https://www.magicpatterns.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets#webpage\",\"url\":\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets\",\"name\":\"Google Sheets\",\"description\":\"Learn how to save submissions to Google Sheets from your Magic Patterns design\",\"dateModified\":\"2026-05-01T01:12:38.840Z\",\"isPartOf\":{\"@id\":\"https://www.magicpatterns.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://www.magicpatterns.com/docs/documentation/integrations/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google Sheets\",\"item\":\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets#article\",\"headline\":\"Google Sheets\",\"name\":\"Google Sheets\",\"description\":\"Learn how to save submissions to Google Sheets from your Magic Patterns design\",\"url\":\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets\",\"mainEntityOfPage\":{\"@id\":\"https://www.magicpatterns.com/docs/documentation/integrations/google-sheets#webpage\"},\"dateModified\":\"2026-05-01T01:12:38.840Z\",\"publisher\":{\"@id\":\"https://www.magicpatterns.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.magicpatterns.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Magic Patterns\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Magic Patterns","nav":{"global":null,"tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/documentation/get-started/introduction"}]},{"tab":"Designs","pages":[{"title":"Designs","href":"/documentation/editor/what-is-a-design"}]},{"tab":"MagicOS","pages":[{"title":"MagicOS","href":"/documentation/magic-os/overview"}]},{"tab":"Design Systems","pages":[{"title":"Design Systems","href":"/documentation/design-systems/overview"}]},{"tab":"Publish and Integrate","groups":[{"group":"Publishing","pages":[{"title":"Custom Publish URL","icon":"link","href":"/documentation/publishing/publish-url"},{"title":"Host on a Custom Domain","icon":"cloud","href":"/documentation/get-started/custom-domain"},{"title":"Website Metadata","icon":"hashtag","href":"/documentation/publishing/metadata"},{"title":"Password Protection","icon":"lock","href":"/documentation/publishing/password-protection"}]},{"group":"Export","pages":[{"title":"Overview of exporting","icon":"share","href":"/documentation/exporting/overview"},{"title":"Copy Code as Prompt","icon":"file-lines","href":"/documentation/get-started/copy-code-as-prompt"},{"title":"Sync with Github","icon":"github","href":"/documentation/get-started/sync-to-github"},{"title":"Bring your designs into code","icon":"code","href":"/documentation/get-started/download-code"},{"title":"Export to Figma","icon":"figma","href":"/documentation/get-started/figma-plugin"},{"title":"Integration Skill for AI Agents","icon":"wand-magic-sparkles","href":"/documentation/exporting/integration-skill"}]},{"group":"MCP server","pages":[{"title":"Overview of MCP","icon":"server","href":"/documentation/features/mcp-server/overview"},{"title":"MCP Tools \u0026 Workflows","icon":"toolbox","href":"/documentation/features/mcp-server/available_tools"}]},{"group":"Integrations","pages":[{"title":"Overview","icon":"puzzle-piece","href":"/documentation/integrations/overview"},{"title":"OpenAI","icon":"openai","href":"/documentation/integrations/openai"},{"title":"Anthropic","description":"Learn how to integrate Anthropic into your Magic Patterns design","icon":"microchip-ai","href":"/documentation/integrations/anthropic"},{"title":"Google Sheets","icon":"google","href":"/documentation/integrations/google-sheets"},{"title":"EmailJS","description":"Learn how to integrate EmailJS to send emails directly from your Magic Patterns design","icon":"envelope","href":"/documentation/integrations/emailjs"},{"title":"Collecting Feedback","icon":"comment","href":"/documentation/integrations/collecting-feedback"},{"title":"Google Analytics","icon":"chart-mixed","href":"/documentation/integrations/google-analytics"},{"title":"PostHog","icon":"chart-area","href":"/documentation/integrations/posthog"},{"title":"Meta Pixel","icon":"meta","href":"/documentation/integrations/meta-pixel"},{"title":"Shopify","icon":"shop","href":"/documentation/integrations/shopify"},{"title":"LinkedIn","icon":"linkedin","href":"/documentation/integrations/linkedin"}]},{"group":"API","pages":[{"title":"Getting Started","icon":"terminal","href":"/api/getting-started"},{"openapi":"openapi-v3.yml get /v3/health","title":"Health check","href":"/api/health"},{"openapi":"openapi-v3.yml get /v3/design-systems","title":"List design systems","href":"/api/list-design-systems"},{"group":"Designs","pages":[{"openapi":"openapi-v3.yml post /v3/designs","title":"Create a design","href":"/api/create-design"},{"openapi":"openapi-v3.yml post /v3/designs/resolve-url","title":"Resolve a Magic Patterns URL to an editor ID","href":"/api/resolve-design-url"},{"openapi":"openapi-v3.yml get /v3/designs/{editorId}/status","title":"Get design status","href":"/api/get-design-status"},{"openapi":"openapi-v3.yml post /v3/designs/{editorId}/prompts","title":"Send a prompt","href":"/api/send-prompt"},{"openapi":"openapi-v3.yml get /v3/designs/{editorId}/messages","title":"Read recent message history","href":"/api/get-design-messages"},{"openapi":"openapi-v3.yml get /v3/designs/{editorId}/versions","title":"List version history","href":"/api/get-design-versions"}]},{"group":"Artifacts","pages":[{"openapi":"openapi-v3.yml get /v3/designs/{editorId}/active-artifact","title":"Get the active artifact","href":"/api/get-active-artifact"},{"openapi":"openapi-v3.yml post /v3/designs/{editorId}/artifacts","title":"Create a new artifact","href":"/api/create-artifact"},{"openapi":"openapi-v3.yml post /v3/designs/{editorId}/artifacts/{artifactId}/files/read","title":"Read artifact files","href":"/api/read-artifact-files"},{"openapi":"openapi-v3.yml patch /v3/designs/{editorId}/artifacts/{artifactId}/files","title":"Write artifact files","href":"/api/write-artifact-files"},{"openapi":"openapi-v3.yml post /v3/designs/{editorId}/artifacts/{artifactId}/publish","title":"Publish an artifact","href":"/api/publish-artifact"}]}]}]},{"tab":"Teams and Enterprise","pages":[{"title":"Teams and Enterprise","href":"/documentation/collaboration/team-workspaces"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/documentation/feature-releases/changelog"}]}]},"basePath":"","title":"Google Sheets - Magic Patterns","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BDAj7nBh.js","DynamicMarkdown-Bq09mRwR.js","zoom-image-lightbox-CypZe82l.js","lightbox-handle-r17bVUz3.js"]}