{"id":7763,"date":"2025-06-12T13:06:04","date_gmt":"2025-06-12T13:06:04","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=7763"},"modified":"2025-09-04T09:13:26","modified_gmt":"2025-09-04T09:13:26","slug":"how-to-send-data-to-google-sheets-directly","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/","title":{"rendered":"How to send data to Google Sheets directly"},"content":{"rendered":"\n<p><strong>Step 1:<\/strong> Go to <a href=\"https:\/\/docs.google.com\/spreadsheets\">https:\/\/docs.google.com\/spreadsheets<\/a><\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Create your Google Sheet by clicking the &#8220;Blank Spreadsheet&#8221;<\/p>\n\n\n\n<p><strong>Step 3:<\/strong> In this example we&#8217;re going to send the first name, last name and email address. So we&#8217;re setting up 3 columns and naming the first row.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"718\" height=\"262\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039.png\" alt=\"\" class=\"wp-image-7764\" style=\"width:367px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039.png 718w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039-300x109.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039-60x22.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039-150x55.png 150w\" sizes=\"(max-width: 718px) 100vw, 718px\" \/><\/figure>\n\n\n\n<p><strong>Step 4:<\/strong> Go to Extensions > App Script<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"956\" height=\"562\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202141.png\" alt=\"\" class=\"wp-image-7765\" style=\"width:368px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202141.png 956w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202141-300x176.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202141-768x451.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202141-60x35.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202141-150x88.png 150w\" sizes=\"(max-width: 956px) 100vw, 956px\" \/><\/figure>\n\n\n\n<p><strong>Step 5:<\/strong> Copy and paste this code<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Code.gs file in Google Apps Script\n\nfunction doPost(e) {\n  try {\n    \/\/ Parse the incoming data\n    const data = JSON.parse(e.postData.contents);\n    \n    \/\/ Open your Google Sheet by ID\n    \/\/ Replace 'YOUR_SPREADSHEET_ID' with your actual spreadsheet ID\n    const sheet = SpreadsheetApp.openById('YOUR_SPREADSHEET_ID').getActiveSheet();\n    \n    \/\/ Append the data as a new row\n    sheet.appendRow(&#91;\n      data.firstName,\n      data.lastName,\n      data.email\n    ]);\n    \n    \/\/ Return success response\n    return ContentService\n      .createTextOutput(JSON.stringify({\n        'status': 'success',\n        'message': 'Data added successfully'\n      }))\n      .setMimeType(ContentService.MimeType.JSON);\n      \n  } catch (error) {\n    \/\/ Return error response\n    return ContentService\n      .createTextOutput(JSON.stringify({\n        'status': 'error',\n        'message': error.toString()\n      }))\n      .setMimeType(ContentService.MimeType.JSON);\n  }\n}\n\nfunction doGet(e) {\n  return ContentService\n    .createTextOutput(JSON.stringify({\n      'status': 'success',\n      'message': 'GET request received'\n    }))\n    .setMimeType(ContentService.MimeType.JSON);\n}<\/code><\/pre>\n\n\n\n<p><strong>Step 6:<\/strong> In your code (Line 10) Replace <strong>YOUR_SPREADSHEET_ID<\/strong> with your google sheet spreadsheet ID. The spreadsheet ID is after the d\/ and before the \/edit. Here&#8217;s an example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"83\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202513-1-1024x83.png\" alt=\"\" class=\"wp-image-7767\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202513-1-1024x83.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202513-1-300x24.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202513-1-768x62.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202513-1-60x5.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202513-1-150x12.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202513-1.png 1534w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 7:<\/strong> Click Deploy > New Deployment<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"532\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202707.png\" alt=\"\" class=\"wp-image-7768\" style=\"width:299px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202707.png 770w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202707-300x207.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202707-768x531.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202707-60x41.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202707-150x104.png 150w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/figure>\n\n\n\n<p><strong>Step 8: <\/strong>Select Type > Web App<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"532\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202759.png\" alt=\"\" class=\"wp-image-7769\" style=\"width:325px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202759.png 734w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202759-300x217.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202759-60x43.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202759-150x109.png 150w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/figure>\n\n\n\n<p>Step 9: Set the description and Select &#8220;Anyone&#8221; from the &#8220;Who has access&#8221; dropdown<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"810\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202901-1024x810.png\" alt=\"\" class=\"wp-image-7770\" style=\"width:407px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202901-1024x810.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202901-300x237.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202901-768x608.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202901-60x47.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202901-150x119.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202901.png 1504w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 10:<\/strong> Click &#8220;Authorize Access&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"938\" height=\"394\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203358.png\" alt=\"\" class=\"wp-image-7771\" style=\"width:437px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203358.png 938w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203358-300x126.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203358-768x323.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203358-60x25.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203358-150x63.png 150w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><\/figure>\n\n\n\n<p><strong>Step 11:<\/strong> If you see the Google hasnt verified this app message, just Proceed and Allow<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"759\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203512-1024x759.png\" alt=\"\" class=\"wp-image-7772\" style=\"width:485px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203512-1024x759.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203512-300x222.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203512-768x570.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203512-60x44.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203512-150x111.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203512.png 1254w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 12:<\/strong> Copy the Web App URL<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"632\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203727-1024x632.png\" alt=\"\" class=\"wp-image-7773\" style=\"width:457px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203727-1024x632.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203727-300x185.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203727-768x474.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203727-60x37.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203727-150x93.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203727.png 1480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 13:<\/strong> In your Leadshook decision tree, create a webhook node, paste the copied Web App URL in your Request URL. It should be configured like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203902-1024x455.png\" alt=\"\" class=\"wp-image-7774\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203902-1024x455.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203902-300x133.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203902-768x341.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203902-1536x683.png 1536w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203902-2048x911.png 2048w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203902-60x27.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-203902-150x67.png 150w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 13: <\/strong>Save and Publish your decision tree and run test. When you test and submit lead with first_name, last_name, and email, it will be sent to your google sheet.<\/p>\n\n\n\n<p><strong>NOTE:<\/strong> If you need to add more columns in your google sheet to send more data or fields, you can add them in your code in line 17. Here&#8217;s an example screenshot<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"315\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205644.png\" alt=\"\" class=\"wp-image-7779\" style=\"width:465px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205644.png 711w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205644-300x133.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205644-60x27.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205644-150x66.png 150w\" sizes=\"(max-width: 711px) 100vw, 711px\" \/><\/figure>\n\n\n\n<p>In your Webhook JSON payload should be like this<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"291\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205952.png\" alt=\"\" class=\"wp-image-7781\" style=\"width:415px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205952.png 661w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205952-300x132.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205952-60x26.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-205952-150x66.png 150w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Go to https:\/\/docs.google.com\/spreadsheets Step 2: Create your Google Sheet by clicking the &#8220;Blank Spreadsheet&#8221; Step 3: In this example we&#8217;re going to send the first name, last name and email address. So we&#8217;re setting up 3 columns and naming the first row. Step 4: Go to Extensions > App Script Step 5: Copy [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[291,620],"tags":[535,226,1097,391,1096,285],"class_list":["post-7763","post","type-post","status-publish","format-standard","hentry","category-lead-distribution","category-scripts","tag-api","tag-google","tag-google-sheet-direct","tag-google-sheets","tag-send-data-to-google-sheet","tag-webhook"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to send data to Google Sheets directly - LeadsHook Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to send data to Google Sheets directly - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Step 1: Go to https:\/\/docs.google.com\/spreadsheets Step 2: Create your Google Sheet by clicking the &#8220;Blank Spreadsheet&#8221; Step 3: In this example we&#8217;re going to send the first name, last name and email address. So we&#8217;re setting up 3 columns and naming the first row. Step 4: Go to Extensions &gt; App Script Step 5: Copy [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-12T13:06:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-04T09:13:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039.png\" \/>\n\t<meta property=\"og:image:width\" content=\"718\" \/>\n\t<meta property=\"og:image:height\" content=\"262\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Von\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Von\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/\"},\"author\":{\"name\":\"Von\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/646557edf0c248393812c53a8ce7fe8b\"},\"headline\":\"How to send data to Google Sheets directly\",\"datePublished\":\"2025-06-12T13:06:04+00:00\",\"dateModified\":\"2025-09-04T09:13:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/\"},\"wordCount\":238,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Screenshot-2025-06-12-202039.png\",\"keywords\":[\"api\",\"Google\",\"google sheet direct\",\"Google Sheets\",\"send data to google sheet\",\"webhook\"],\"articleSection\":[\"Lead Distribution\",\"Scripts\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/\",\"name\":\"How to send data to Google Sheets directly - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Screenshot-2025-06-12-202039.png\",\"datePublished\":\"2025-06-12T13:06:04+00:00\",\"dateModified\":\"2025-09-04T09:13:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Screenshot-2025-06-12-202039.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Screenshot-2025-06-12-202039.png\",\"width\":718,\"height\":262},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-send-data-to-google-sheets-directly\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to send data to Google Sheets directly\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/646557edf0c248393812c53a8ce7fe8b\",\"name\":\"Von\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g\",\"caption\":\"Von\"},\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/voncs-leadshook-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to send data to Google Sheets directly - LeadsHook Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/","og_locale":"en_US","og_type":"article","og_title":"How to send data to Google Sheets directly - LeadsHook Knowledge Base","og_description":"Step 1: Go to https:\/\/docs.google.com\/spreadsheets Step 2: Create your Google Sheet by clicking the &#8220;Blank Spreadsheet&#8221; Step 3: In this example we&#8217;re going to send the first name, last name and email address. So we&#8217;re setting up 3 columns and naming the first row. Step 4: Go to Extensions > App Script Step 5: Copy [&hellip;]","og_url":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2025-06-12T13:06:04+00:00","article_modified_time":"2025-09-04T09:13:26+00:00","og_image":[{"width":718,"height":262,"url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039.png","type":"image\/png"}],"author":"Von","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Von","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/"},"author":{"name":"Von","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/646557edf0c248393812c53a8ce7fe8b"},"headline":"How to send data to Google Sheets directly","datePublished":"2025-06-12T13:06:04+00:00","dateModified":"2025-09-04T09:13:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/"},"wordCount":238,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039.png","keywords":["api","Google","google sheet direct","Google Sheets","send data to google sheet","webhook"],"articleSection":["Lead Distribution","Scripts"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/","url":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/","name":"How to send data to Google Sheets directly - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/#primaryimage"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039.png","datePublished":"2025-06-12T13:06:04+00:00","dateModified":"2025-09-04T09:13:26+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/#primaryimage","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-12-202039.png","width":718,"height":262},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/how-to-send-data-to-google-sheets-directly\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to send data to Google Sheets directly"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/646557edf0c248393812c53a8ce7fe8b","name":"Von","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g","caption":"Von"},"url":"https:\/\/www.leadshook.com\/help\/author\/voncs-leadshook-com\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=7763"}],"version-history":[{"count":4,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7763\/revisions"}],"predecessor-version":[{"id":7784,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7763\/revisions\/7784"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=7763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=7763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=7763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}