{"id":8475,"date":"2019-12-11T12:29:14","date_gmt":"2019-12-11T12:29:14","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=8475"},"modified":"2025-03-19T14:04:19","modified_gmt":"2025-03-19T14:04:19","slug":"write-update-google-sheet-ssis","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/","title":{"rendered":"How to write\/update Google Sheet in SSIS"},"content":{"rendered":"<h2><span id=\"Introduction\">Introduction<\/span><\/h2>\n<div class=\"su-note\"  style=\"border-color:#e5de9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#FFF8B7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><strong>UPDATE:<\/strong>\u00a0ZappySys has released a brand new <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/google-sheets-connector\/\">API Connector for Google Sheets Online<\/a> which makes it much simpler to\u00a0<strong>Read\/Write  Google Sheets Data in SSIS<\/strong> compared to the steps listed in this article. You can still use steps from this article but if you are new to API or want to avoid learning curve with API then use newer approach.<\/p>\n<p>Please visit <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/\">this page to see all<\/a>\u00a0Pre-Configured ready to use API connectors which you can use in <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-api-source\/\">SSIS API Source<\/a> \/ <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-api-destination\/\">SSIS API Destination<\/a> OR\u00a0<a href=\"https:\/\/zappysys.com\/products\/odbc-powerpack\/odbc-api-driver\/\">API ODBC Driver<\/a> (for non-SSIS Apps such as Excel, Power BI, Informatica).<\/p>\n<\/div><\/div>\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-1670 alignleft\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a>In this post, you will learn\u00a0How to write\/update Google Sheet in SSIS. We will use drag and drop REST API connectors from\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">SSIS PowerPack<\/a>. No need to download any SDK or learn programming languages\u00a0(e.g. JAVA, C#, Ruby, Python) when you use SSIS PowerPack Connectors. We will use the Google Drive API and Google Sheet API to write and update Google Spreadsheet in a few clicks (using OAuth 2.0 connection in SSIS).<\/p>\n<p>In this tutorial, we will use the\u00a0<a href=\"https:\/\/zappysys.com\/blog\/call-rest-api-using-ssis-web-service-task\/\" target=\"_blank\" rel=\"noopener\">REST API Task<\/a>\u00a0to call some API.\u00a0We will use the\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-oauth-connection-manager.htm\" target=\"_blank\" rel=\"noopener\">OAuth connection<\/a>\u00a0along the\u00a0<a href=\"https:\/\/zappysys.com\/blog\/call-rest-api-using-ssis-web-service-task\/\" target=\"_blank\" rel=\"noopener\">REST API Task<\/a>\u00a0to write \/ update data to Google Spreadsheet.<\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"Prerequisites\">Prerequisites<\/span><\/h2>\n<p>Before we perform the steps listed in this article, you will need to make sure the following prerequisites are met:<\/p>\n<ol>\n<li><abbr title=\"SQL Server Integration Services\">SSIS<\/abbr>\u00a0designer installed.\u00a0Sometimes it is referred to as\u00a0<abbr title=\"Business Intelligence Development Studio\">BIDS<\/abbr>\u00a0or\u00a0<abbr title=\"SQL Server Data Tools\">SSDT<\/abbr>\u00a0(<a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/ssdt\/download-sql-server-data-tools-ssdt\" target=\"_blank\" rel=\"noopener\">download it from Microsoft site<\/a>).<\/li>\n<li>Basic knowledge of SSIS package\u00a0development using\u00a0<em>Microsoft SQL Server Integration Services<\/em>.<\/li>\n<li>Make sure\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">ZappySys SSIS PowerPack<\/a>\u00a0is installed (<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/download\/\" target=\"_blank\" rel=\"noopener\">download it<\/a>).<\/li>\n<li>Credentials of Google API.<\/li>\n<\/ol>\n<h2>Component Mention in this article<\/h2>\n<div class=\"su-table su-table-alternate\">\n<table style=\"height: 44px;width: 307px\">\n<tbody>\n<tr style=\"height: 22px\">\n<td style=\"height: 22px;width: 1px\"><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/json-generator-transform\/ssis-json-generator-transform.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3074\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/json-generator-transform\/ssis-json-generator-transform.png\" alt=\"\" width=\"40\" height=\"40\" \/><\/a><\/td>\n<td style=\"height: 22px;width: 247px\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-generator-transform\/\" target=\"_blank\" rel=\"noopener\">JSON Generator Transform<\/a><\/td>\n<\/tr>\n<tr style=\"height: 22px\">\n<td style=\"height: 22px;width: 1px\"><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/web-api-destination\/ssis-web-api-destination.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3074\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/web-api-destination\/ssis-web-api-destination.png\" alt=\"\" width=\"40\" height=\"40\" \/><\/a><\/td>\n<td style=\"height: 22px;width: 247px\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-web-api-destination-connector\/\" target=\"_blank\" rel=\"noopener\">Web API Destination<\/a><\/td>\n<\/tr>\n<tr style=\"height: 22px\">\n<td style=\"height: 22px;width: 1px\"><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/rest-api-task\/ssis-rest-api-web-service-task.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3074\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/rest-api-task\/ssis-rest-api-web-service-task.png\" alt=\"\" width=\"40\" height=\"40\" \/><\/a><\/td>\n<td style=\"height: 22px;width: 247px\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-rest-api-web-service-task\/\" target=\"_blank\" rel=\"noopener\">REST API Task<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2><span id=\"Create_Google_API_Project\">Create a Google API Project<\/span><\/h2>\n<p>The first step to access any Google API is to create an API Project in Google Console. If you don\u2019t want to go through this then Skip this\u00a0Step-1 and in the next section select the Default OAuth App option on OAth Connection Manager (This is the easiest option for now unless you want to use your own OAuth App).<\/p>\n<p><a href=\"https:\/\/zappysys.com\/blog\/register-google-oauth-application-get-clientid-clientsecret\/\" target=\"_blank\" rel=\"noopener\">Check this article<\/a>\u00a0for step-by-step instructions.\u00a0When you follow these instructions make sure you <a href=\"https:\/\/console.developers.google.com\/apis\/api\/sheets.googleapis.com\/overview?project=603281348663\" target=\"_blank\" rel=\"noopener\">enable Google Sheet API.<\/a><\/p>\n<h2><span id=\"Create_OAuth_Connection_Manager_in_SSIS\">Create OAuth Connection Manager in SSIS<\/span><\/h2>\n<p>Once you create a Google API project and obtained a Client ID and Client Secret your next step is to create\u00a0<a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-oauth-connection-manager.htm\" target=\"_blank\" rel=\"noopener\">OAuth Connection Manager<\/a>\u00a0in SSIS. ZappySys OAuth connection manager comes with many predefined OAuth Providers (e.g. Facebook, Twitter, Google, etc) but you can also define custom OAuth settings for any OAuth enabled API.<\/p>\n<p>To create SSIS OAuth 2.0 Connection for Google API perform the following steps.<\/p>\n<ol>\n<li>Download and Install SSIS PowerPack.<\/li>\n<li>Create a new SSIS Package.<\/li>\n<li>Right-click in Connection Manager Area and Click \u201cNew Connection\u201d.<\/li>\n<li>When prompted select ZS-OAUTH connection type,\u00a0On the OAuth Connection Manager Select Provider=Google.<\/li>\n<li>Click here to <a href=\"https:\/\/console.developers.google.com\/apis\/credentials\" target=\"_blank\" rel=\"noopener\">create credentials.<\/a> Then select the \u201cUse Custom OAuth App\u201d option and enter your ClientID, ClientSecret.<\/li>\n<li>In the Scopes\u00a0<strong>enter below scopes<\/strong>\u00a0(or click Select Scopes). This will allow read\/write access to Drive Files or Sheet (E.g. Reading file content \/ Export file to CSV). You can use the Scope browser to see many other available permissions. For more information click <a href=\"https:\/\/developers.google.com\/sheets\/api\/guides\/authorizing#OAuth2Authorizing\" target=\"_blank\" rel=\"noopener\">here.<\/a>\n<pre class=\"lang:default decode:true\">https:\/\/www.googleapis.com\/auth\/drive\r\nhttps:\/\/www.googleapis.com\/auth\/drive.file\r\nhttps:\/\/www.googleapis.com\/auth\/drive.readonly\r\nhttps:\/\/www.googleapis.com\/auth\/spreadsheets\r\nhttps:\/\/www.googleapis.com\/auth\/spreadsheets.readonly<\/pre>\n<\/li>\n<li>Click on the Generate Token button.\n<div id=\"attachment_8479\" style=\"width: 1036px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-google-oauth-connection-google-drive-api-access-file.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8479\" class=\"wp-image-8479 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-google-oauth-connection-google-drive-api-access-file.png\" alt=\"SSIS OAuth Connection Manager \u2013 Access Google Drive API using OAuth 2.0\" width=\"1026\" height=\"653\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-google-oauth-connection-google-drive-api-access-file.png 1026w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-google-oauth-connection-google-drive-api-access-file-300x191.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-google-oauth-connection-google-drive-api-access-file-768x489.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-google-oauth-connection-google-drive-api-access-file-1024x652.png 1024w\" sizes=\"(max-width: 1026px) 100vw, 1026px\" \/><\/a><p id=\"caption-attachment-8479\" class=\"wp-caption-text\">SSIS OAuth Connection Manager \u2013 Access Google Drive API using OAuth 2.0<\/p><\/div><\/li>\n<li>You will see UI as below\u2026 Click Allow (You may have to scroll to see that button sometimes).<\/li>\n<li>Click on Test Connection to see the connection is working and click on the OK button to save\u00a0configure setting UI.<\/li>\n<\/ol>\n<h2><span id=\"Find_Google_Sheet_ID_for_API_call\">Find Google Sheet ID for API calls<\/span><\/h2>\n<p>Before we can write or update Sheet data in SSIS we need to know Google Driver File ID. We will use this ID in the next few sections.<\/p>\n<p>The easiest way to find File ID is to look at the URL like below. If you need to know ID at runtime dynamically then refer to the last section.<\/p>\n<div id=\"attachment_8450\" style=\"width: 806px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/obtain-google-sheet-id-for-api-call.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8450\" class=\"wp-image-8450 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/obtain-google-sheet-id-for-api-call.png\" alt=\"Get Google Drive File ID for API call (Sheet ID)\" width=\"796\" height=\"286\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/obtain-google-sheet-id-for-api-call.png 796w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/obtain-google-sheet-id-for-api-call-300x108.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/obtain-google-sheet-id-for-api-call-768x276.png 768w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/><\/a><p id=\"caption-attachment-8450\" class=\"wp-caption-text\">Get Google Drive File ID for API call (Sheet ID)<\/p><\/div>\n<h2>Create Variables to make dynamic URL<\/h2>\n<ol>\n<li>Here, we are going to make a Dynamic URL value.<\/li>\n<li>In Visual Studio Project Right Click on Design Panel, Select Variables.\n<div style=\"width: 426px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/ssis-create-variable.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/ssis-create-variable.png\" alt=\"Create Variables\" width=\"416\" height=\"294\" \/><\/a><p class=\"wp-caption-text\">Create Variables<\/p><\/div><\/li>\n<li>Let&#8217;s Create Variables with correct DataType and Value. In variable &#8220;<strong>varRange<\/strong>&#8221; set only the starting point(<strong>Sheet1!A2<\/strong>) of data if you don&#8217;t know the ending point and leave the first-row for giving header row later or click <a href=\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#Update_Google_Sheet_header_cells_manually\" target=\"_blank\" rel=\"noopener\">here.<\/a><br \/>\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-create-variable.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8547 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-create-variable.png\" alt=\"Create Variables with correct datatype and values\" width=\"863\" height=\"209\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-create-variable.png 863w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-create-variable-300x73.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-create-variable-768x186.png 768w\" sizes=\"(max-width: 863px) 100vw, 863px\" \/><\/a><\/li>\n<\/ol>\n<h2>Write SQL Server data to Google Spreadsheet<\/h2>\n<p>Now let\u2019s look at a real-world example. How to write data from SQL Server table or other source and send to Google Sheet using Web API Destination.<\/p>\n<ol>\n<li>Drag and Drop SSIS Data Flow Task from SSIS Toolbox.\n<div id=\"attachment_8028\" style=\"width: 470px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/drag-and-drop-data-flow-task.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8028\" class=\"wp-image-8028 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/drag-and-drop-data-flow-task.png\" alt=\"Dragging and dropping Data Flow Task into Control Flow\" width=\"460\" height=\"155\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/drag-and-drop-data-flow-task.png 460w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/02\/drag-and-drop-data-flow-task-300x101.png 300w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><\/a><p id=\"caption-attachment-8028\" class=\"wp-caption-text\">Dragging and dropping Data Flow Task into Control Flow<\/p><\/div><\/li>\n<li>Double click on the Data Flow task to see the Data Flow designer surface.<\/li>\n<li>Here, In Visual Studio, drag and drop the OLE DB Source, JSON Generator Transform and Web API Destination in the design surface and join the components with the blue arrow.\n<div id=\"attachment_8491\" style=\"width: 611px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-drag-drop-json-generator-web-api-destination.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8491\" class=\"wp-image-8491 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-drag-drop-json-generator-web-api-destination.png\" alt=\"Drag and Drop OLE DB Source, JSON Generator Transform and Web API Destination\" width=\"601\" height=\"369\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-drag-drop-json-generator-web-api-destination.png 601w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-drag-drop-json-generator-web-api-destination-300x184.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/a><p id=\"caption-attachment-8491\" class=\"wp-caption-text\">Drag and Drop OLE DB Source, JSON Generator Transform, and Web API Destination<\/p><\/div><\/li>\n<li>Here, you can use our Free ZS Dummy Data Source too. Click\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/dummy-data-source-free\/\" target=\"_blank\" rel=\"noopener\">here<\/a>\u00a0for more information.<\/li>\n<li>But, we are going through OLE DB Source so we need OLEDB Connection.<\/li>\n<\/ol>\n<h3>Create OLE DB Connection<\/h3>\n<ol>\n<li>Lets, create the OLE DB Connection.<\/li>\n<li>Let&#8217;s, Right-click on Connection Managers Panel to Create OLEDB Connection, so you can use Source and Context Menu will appear, Select New OLEDB Connection from the Context Menu.\n<div style=\"width: 485px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/oledb-connection-manager\/ssis-new-oledb-connection-step-1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/oledb-connection-manager\/ssis-new-oledb-connection-step-1.png\" alt=\"Create OLE DB Connection\" width=\"475\" height=\"353\" \/><\/a><p class=\"wp-caption-text\">Create OLE DB Connection<\/p><\/div><\/li>\n<li>Now, click on New Button to create Connection.\n<div style=\"width: 665px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/oledb-connection-manager\/ssis-new-oledb-connection-step-2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/oledb-connection-manager\/ssis-new-oledb-connection-step-2.png\" alt=\"Create New Connection\" width=\"655\" height=\"558\" \/><\/a><p class=\"wp-caption-text\">Create New Connection<\/p><\/div><\/li>\n<li>Let&#8217;s Configure Connection Manager, just Follow steps one by one as we have created.\n<div style=\"width: 730px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/oledb-connection-manager\/ssis-new-oledb-connection-step-3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/oledb-connection-manager\/ssis-new-oledb-connection-step-3.png\" alt=\"Configure OLE DB Connection\" width=\"720\" height=\"625\" \/><\/a><p class=\"wp-caption-text\">Configure OLE DB Connection<\/p><\/div><\/li>\n<li>Click on Test Connection to see correct configure it.<\/li>\n<li>Click on the OK button to save connection configure setting UI.<\/li>\n<\/ol>\n<h3>Configure JSON Generator Transform<\/h3>\n<ol>\n<li>Double click on\u00a0JSON Generator Transform to configure it.<\/li>\n<li>Set Output Mode to <strong>Single Dataset Array<\/strong>. Right-click on Mappings, select Add Static Element then enter Name: &#8220;<strong>range<\/strong>&#8221; and Select variable we have created for value.\n<div id=\"attachment_8492\" style=\"width: 929px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8492\" class=\"wp-image-8492 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value.png\" alt=\"Configure JSON Generator Transform - Add Static Value\" width=\"919\" height=\"730\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value.png 919w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value-300x238.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value-768x610.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/a><p id=\"caption-attachment-8492\" class=\"wp-caption-text\">Configure JSON Generator Transform &#8211; Add Static Value<\/p><\/div><\/li>\n<li>Again,\u00a0Right-click on Mappings, select Add Static Element then enter Name: &#8220;<strong>majorDimension<\/strong>&#8221; and Value: &#8220;<strong>ROWS<\/strong>&#8220;.\n<div id=\"attachment_8493\" style=\"width: 946px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value-2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8493\" class=\"wp-image-8493 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value-2.png\" alt=\"Configure JSON Generator Transform - Add Static Value\" width=\"936\" height=\"730\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value-2.png 936w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value-2-300x234.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-static-value-2-768x599.png 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/a><p id=\"caption-attachment-8493\" class=\"wp-caption-text\">Configure JSON Generator Transform &#8211; Add Static Value<\/p><\/div><\/li>\n<li>Now, Right-click on Mappings, select Add Document Array, Check to Treat as\u00a0<strong>2D array<\/strong>\u00a0option and enter Element Name as &#8220;<strong>values<\/strong>&#8220;.\n<div id=\"attachment_8494\" style=\"width: 1047px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-document-array.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8494\" class=\"wp-image-8494 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-document-array.png\" alt=\"Configure JSON Generator Transform - Add Document Array\" width=\"1037\" height=\"764\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-document-array.png 1037w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-document-array-300x221.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-document-array-768x566.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-document-array-1024x754.png 1024w\" sizes=\"(max-width: 1037px) 100vw, 1037px\" \/><\/a><p id=\"caption-attachment-8494\" class=\"wp-caption-text\">Configure JSON Generator Transform &#8211; Add Document Array<\/p><\/div><\/li>\n<li>Then, right-click on Document Array, select <strong>Add elements<\/strong>\u00a0&gt; Select <strong>Add\u00a0Multiple Columns<\/strong>\u00a0and check on columns you like to add.\n<div id=\"attachment_8495\" style=\"width: 1047px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-addelement.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8495\" class=\"wp-image-8495 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-addelement.png\" alt=\"Configure JSON Generator Transform - Add Element\" width=\"1037\" height=\"764\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-addelement.png 1037w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-addelement-300x221.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-addelement-768x566.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-json-generator-addelement-1024x754.png 1024w\" sizes=\"(max-width: 1037px) 100vw, 1037px\" \/><\/a><p id=\"caption-attachment-8495\" class=\"wp-caption-text\">Configure JSON Generator Transform &#8211; Add Element<\/p><\/div><\/li>\n<li>Click on the OK button to save JSON Generator Transform configure setting UI.<\/li>\n<\/ol>\n<h3>Configure Web API Destination<\/h3>\n<ol>\n<li>Double click on\u00a0Web API Destination to configure it.<\/li>\n<li>Select the OAuth connection manager created in an earlier section (Assuming you had all scopes with write permission).<\/li>\n<li>In the Setting tab,\n<ol>\n<li>In URL, Generate Dynamic\u00a0URL like below. Change Sheet ID, Range designator(including Sheet name) and API URL Parameters as per your need.\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/{{User::varGoogleSpreadsheetID}}\/values\/{{User::varRange}}:{{User::varSpreadsheetValues}}?valueInputOption={{User::varValueInputOption}}<\/pre>\n<p><strong>Example URL without variables (some part masked with xxxxxxxx):<\/strong><\/p>\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/1tuGO3_-2JlSmyiHwX6xxxxxxxxCHrORJc\/values\/Sheet1!A2:B4:append?valueInputOption=USER_ENTERED<\/pre>\n<\/li>\n<li>Change Request Method to\u00a0<strong>POST.<\/strong><\/li>\n<li>Select JSON Generator variable into <strong>Body (Request Data)<\/strong> or you can select\u00a0<strong>Input column<\/strong>\u00a0for\u00a0<strong>Body\u00a0<\/strong>(JSON Generator Output).<\/li>\n<li>Set\u00a0<strong><strong><strong>application\/JSON\u00a0<\/strong><\/strong><\/strong>to\u00a0Body Content-type.\n<div id=\"attachment_8497\" style=\"width: 1214px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-web-api-destination.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8497\" class=\"wp-image-8497 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-web-api-destination.png\" alt=\"Configure Web API Destination\" width=\"1204\" height=\"725\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-web-api-destination.png 1204w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-web-api-destination-300x181.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-web-api-destination-768x462.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-configure-web-api-destination-1024x617.png 1024w\" sizes=\"(max-width: 1204px) 100vw, 1204px\" \/><\/a><p id=\"caption-attachment-8497\" class=\"wp-caption-text\">Configure Web API Destination<\/p><\/div><\/li>\n<\/ol>\n<\/li>\n<li>Click on the OK button to save Web API Destination configure setting UI.<\/li>\n<li>That&#8217;s all, You are ready to Run or Execute Task and verify data into Google spreadsheet. Now update header row values for click <a href=\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#Update_Google_Sheet_header_cells_manually\">here.<\/a>\n<div id=\"attachment_8530\" style=\"width: 1147px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-execute-1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8530\" class=\"wp-image-8530 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-execute-1.png\" alt=\"Run or Execute Package and verify data into Google Spreadsheet\" width=\"1137\" height=\"556\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-execute-1.png 1137w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-execute-1-300x147.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-execute-1-768x376.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-execute-1-1024x501.png 1024w\" sizes=\"(max-width: 1137px) 100vw, 1137px\" \/><\/a><p id=\"caption-attachment-8530\" class=\"wp-caption-text\">Run or Execute Package and verify data into Google Spreadsheet<\/p><\/div><\/li>\n<\/ol>\n<h2><span id=\"Write_data_to_Google_Spread_Sheet\">Append data to Google SpreadSheet using REST API Task<\/span><\/h2>\n<p>Now let&#8217;s look at how to write to Google SpreadSheet. To write multiple rows in a single request. Also, check this link to\u00a0<a href=\"https:\/\/developers.google.com\/sheets\/api\/guides\/values\" target=\"_blank\" rel=\"noopener\">learn more<\/a>.<\/p>\n<p>For more information, you can see the\u00a0<a href=\"https:\/\/developers.google.com\/sheets\/api\/samples\/writing\" target=\"_blank\" rel=\"noopener\">example here<\/a>. For parameter, detail review this API documentation.<\/p>\n<p>You can use<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-rest-api-web-service-task\/\" target=\"_blank\" rel=\"noopener\">\u00a0SSIS REST API Task<\/a>\u00a0or\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-web-api-destination-connector\/\" target=\"_blank\" rel=\"noopener\">Web API Destination<\/a>\u00a0to achieve the Spreadsheet write scenario. For a simple example, let&#8217;s use the REST API Task.<\/p>\n<ol>\n<li>Drag and Drop ZS REST API Task on the control flow designer.\n<div id=\"attachment_3777\" style=\"width: 577px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/05\/ssis-rest-api-task-share-post-on-linkedin.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3777\" class=\"wp-image-3777 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/05\/ssis-rest-api-task-share-post-on-linkedin.png\" alt=\"Drag and Drop REST API Task\" width=\"567\" height=\"297\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/05\/ssis-rest-api-task-share-post-on-linkedin.png 567w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2018\/05\/ssis-rest-api-task-share-post-on-linkedin-300x157.png 300w\" sizes=\"(max-width: 567px) 100vw, 567px\" \/><\/a><p id=\"caption-attachment-3777\" class=\"wp-caption-text\">Drag and Drop REST API Task<\/p><\/div><\/li>\n<li>Double click on ZS REST API Task to configure it.<\/li>\n<li>In the Request Settings tab,\n<ol>\n<li>set Request URL Access Mode to Url from a connection.\u00a0Select OAuth Connection from the dropdown (Same connection we created in the previous section).<\/li>\n<li>Enter the URL below. Change Sheet ID, Range designator(including Sheet name) and API URL Parameters as per your need.\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/{{User::varGoogleSpreadsheetID}}\/values\/{{User::varRange}}:{{User::varSpreadsheetValues}}?valueInputOption={{User::varValueInputOption}}<\/pre>\n<p><strong>Example URL without variables (some part masked with xxxxxxxx):<\/strong><\/p>\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/1tuGO3_-2JlSmyiHwX6xxxxxxxxCHrORJc\/values\/Sheet1!A1:append?valueInputOption=USER_ENTERED<\/pre>\n<\/li>\n<li>Change Request Method to\u00a0<strong>POST.<\/strong><\/li>\n<li>Enter Request Body as below<br \/>\n<div class=\"su-note\"  style=\"border-color:#e5de9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fff8b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><strong>Note:<\/strong> For example purpose, we included header line in data cells but in the real-world header may already exist in the sheet.<\/div><\/div>\n<pre class=\"lang:default decode:true\">{\r\n  \"range\": \"{{User::varRange}}\",\r\n  \"majorDimension\": \"ROWS\",\r\n  \"values\": [\r\n    [\"Item\", \"Cost\", \"Stocked\", \"Ship Date\"],\r\n    [\"Wheel\", \"$20.50\", \"4\", \"3\/1\/2016\"],\r\n    [\"Door\", \"$15\", \"2\", \"3\/15\/2016\"],\r\n    [\"Engine\", \"$100\", \"1\", \"3\/20\/2016\"],\r\n    [\"Totals\", \"=SUM(B2:B4)\", \"=SUM(C2:C4)\", \"=MAX(D2:D4)\"]\r\n  ]\r\n}<\/pre>\n<\/li>\n<li>Change Request Content type to\u00a0<strong><strong><strong>application\/JSON.<\/strong><\/strong><\/strong>\n<div id=\"attachment_8482\" style=\"width: 1335px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-post-google-spreadsheet-using-rest-api-oauth.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8482\" class=\"wp-image-8482 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-post-google-spreadsheet-using-rest-api-oauth.png\" alt=\"Write data to Google SpreadSheet using REST API Task (OAuth 2.0 Connection)\" width=\"1325\" height=\"762\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-post-google-spreadsheet-using-rest-api-oauth.png 1325w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-post-google-spreadsheet-using-rest-api-oauth-300x173.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-post-google-spreadsheet-using-rest-api-oauth-768x442.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-post-google-spreadsheet-using-rest-api-oauth-1024x589.png 1024w\" sizes=\"(max-width: 1325px) 100vw, 1325px\" \/><\/a><p id=\"caption-attachment-8482\" class=\"wp-caption-text\">Write data to Google SpreadSheet using REST API Task (OAuth 2.0 Connection)<\/p><\/div><\/li>\n<\/ol>\n<\/li>\n<li>Click on the OK button to save REST API Task configure setting UI.<\/li>\n<li>That&#8217;s all, You are ready to Run or Execute Task and verify data into Google spreadsheet.\n<div id=\"attachment_8481\" style=\"width: 1390px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-post-execute.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8481\" class=\"wp-image-8481 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-post-execute.png\" alt=\"Execute REST API Task and verify Google Spreadsheet data \" width=\"1380\" height=\"671\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-post-execute.png 1380w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-post-execute-300x146.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-post-execute-768x373.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-google-spreadsheet-using-rest-api-oauth-post-execute-1024x498.png 1024w\" sizes=\"(max-width: 1380px) 100vw, 1380px\" \/><\/a><p id=\"caption-attachment-8481\" class=\"wp-caption-text\">Execute REST API Task and verify Google Spreadsheet data<\/p><\/div><\/li>\n<\/ol>\n<h2><span id=\"Update_Google_Sheet_Cells_8211_Single_Range_Set_Values_for_multiple_cells\">Update Google Sheet Cells<\/span><\/h2>\n<p>Now let\u2019s look at the below example of updating multiple cells in google Spreadsheet. For more information, you can see the\u00a0<a href=\"https:\/\/developers.google.com\/sheets\/api\/samples\/writing\" target=\"_blank\" rel=\"noopener\">example here<\/a>. For parameter, detail review this API documentation.<\/p>\n<p>You can use<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-rest-api-web-service-task\/\" target=\"_blank\" rel=\"noopener\">\u00a0SSIS REST API Task<\/a>\u00a0or\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-web-api-destination-connector\/\" target=\"_blank\" rel=\"noopener\">Web API Destination<\/a>\u00a0to achieve the Spreadsheet Update scenario. For a simple example, let&#8217;s use the REST API Task.<\/p>\n<h3>Update Google Sheet header cells manually<\/h3>\n<ol>\n<li>Drag and drop ZS REST API Tasks on the control flow designer.<\/li>\n<li>Double click on the First REST API Task to configure it.<\/li>\n<li>In the Request Settings tab,\n<ol>\n<li>Enter the URL below. Change Range designator(including Sheet name: <strong>Sheet1!A1<\/strong>) and API URL Parameters as per your need.\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/{{User::varGoogleSpreadsheetID}}\/values\/{{User::varRange}}?valueInputOption={{User::varValueInputOption}}<\/pre>\n<p><strong>Example URL without variables (some part masked with xxxxxxxx):<\/strong><\/p>\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/1tuGO3_-2JlSmyiHwX6xxxxxxxxCHrORJc\/values\/Sheet1!A1?valueInputOption=USER_ENTERED<\/pre>\n<\/li>\n<li>Change Request Method to\u00a0<strong>PUT.<\/strong><\/li>\n<li>Enter Request Body as below\n<pre class=\"lang:default decode:true\">{\r\n  \"range\": \"{{User::varRange}}\",\r\n  \"majorDimension\": \"ROWS\",\r\n  \"values\": [\r\n    [\"CustomerID\", \"CustomerName\"]\r\n  ]\r\n}<\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<li>Click on the OK button to save REST API Task configure setting UI.<\/li>\n<li>That&#8217;s all, You are ready to Run or Execute Task and verify data into Google spreadsheet.<br \/>\n<a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-update-put-google-spreadsheet-using-rest-api-oauth.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8532\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-update-put-google-spreadsheet-using-rest-api-oauth.png\" alt=\"\" width=\"1318\" height=\"677\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-update-put-google-spreadsheet-using-rest-api-oauth.png 1318w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-update-put-google-spreadsheet-using-rest-api-oauth-300x154.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-update-put-google-spreadsheet-using-rest-api-oauth-768x394.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-update-put-google-spreadsheet-using-rest-api-oauth-1024x526.png 1024w\" sizes=\"(max-width: 1318px) 100vw, 1318px\" \/><\/a><\/li>\n<\/ol>\n<h3><span id=\"Update_Google_Sheet_Cells_8211_Single_Range_Set_Values_for_multiple_cells\">Single Range (Set Values for multiple cells)<\/span><\/h3>\n<ol>\n<li>Follow the previous section(write data to Google Spreadsheet) to update sheet data.<\/li>\n<li>In the Request Settings tab,\n<ol>\n<li>Enter the URL below. Change Sheet ID, Range designator(including Sheet name) and API URL Parameters as per your need.\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/{{User::varGoogleSpreadsheetID}}\/values\/{{User::varRange}}?valueInputOption={{User::varValueInputOption}}<\/pre>\n<p><strong>Example URL without variables (some part masked with xxxxxxxx):<\/strong><\/p>\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/1tuGO3_-2JlSmyiHwX6xxxxxxxxCHrORJc\/values\/Sheet1!A2:B4?valueInputOption=USER_ENTERED<\/pre>\n<\/li>\n<li>Change Request Method to\u00a0<strong>PUT.<\/strong><\/li>\n<li>Enter Request Body as below\n<pre class=\"lang:default decode:true\">{\r\n  \"range\": \"{{User::varRange}}\",\r\n  \"majorDimension\": \"ROWS\",\r\n  \"values\": [\r\n    [\"Laptop\", \"$2000.50\"],\r\n    [\"Mobile\", \"$1150\"]\r\n  ]\r\n}<\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<li>That&#8217;s all, click on the Test Request\/Response button and verify data into Google spreadsheet.\n<div id=\"attachment_8485\" style=\"width: 1610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-put-google-spreadsheet-using-rest-api-oauth.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8485\" class=\"wp-image-8485 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-put-google-spreadsheet-using-rest-api-oauth.png\" alt=\"Calling Google Sheet API to Update Multiple Cell Values\" width=\"1600\" height=\"860\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-put-google-spreadsheet-using-rest-api-oauth.png 1600w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-put-google-spreadsheet-using-rest-api-oauth-300x161.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-put-google-spreadsheet-using-rest-api-oauth-768x413.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-write-put-google-spreadsheet-using-rest-api-oauth-1024x550.png 1024w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/a><p id=\"caption-attachment-8485\" class=\"wp-caption-text\">Calling Google Sheet API to Update Multiple Cell Values<\/p><\/div><\/li>\n<\/ol>\n<h2><span id=\"Write_data_to_Google_Spread_Sheet\">Clear data to Google SpreadSheet using REST API Task<\/span><\/h2>\n<h3 id=\"clear_a_sheet_of_all_values_while_preserving_formats\">Clear a sheet of all values while preserving formats<\/h3>\n<p>Lets clear a sheet of all values by REST API Task, Before processed we need sheet Id. So let&#8217;s get the SheetId by API Call. For more information about click <a href=\"https:\/\/developers.google.com\/sheets\/api\/samples\/sheet#clear_a_sheet_of_all_values_while_preserving_formats\" target=\"_blank\" rel=\"noopener\">here.<\/a><\/p>\n<ol>\n<li>Drag and Drop two ZS REST API Tasks on the control flow designer and rename(Get Sheet ID and Clear Google Sheet of all values) it.<\/li>\n<li>Double click on the First REST API(Get Sheet ID) Task to configure it.<\/li>\n<li>In the\u00a0Request Settings tab,\n<ol>\n<li>Enter the URL below. Change Sheet ID and API URL Parameters as per your need.\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/{{User::varGoogleSpreadsheetID}}<\/pre>\n<p><strong>Example URL without variables (some part masked with xxxxxxxx):<\/strong><\/p>\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/1tuGO3_-2JlSmyiHwX6xxxxxxxxCHrORJc<\/pre>\n<\/li>\n<li>Change Request Method to\u00a0<strong><strong>GET.<br \/>\n<\/strong><\/strong><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-getsheetid.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8515 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-getsheetid.png\" alt=\"REST API Task - Get Google Sheet ID\" width=\"923\" height=\"661\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-getsheetid.png 923w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-getsheetid-300x215.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-getsheetid-768x550.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/a>REST API Task &#8211; Get Google Sheet ID<\/li>\n<\/ol>\n<\/li>\n<li>Now go to Response Settings Tab, Select Response content Type Json and Write Response Content Filter Expression. Check on Save Response Content. Select Save Mode to Variable and Create a New variable or select it.<br \/>\n<strong>Example of Response Content Filter Expression for the first Sheet :\u00a0<\/strong><\/p>\n<pre class=\"lang:default decode:true \">$.sheets.[0].properties.sheetId<\/pre>\n<div id=\"attachment_8517\" style=\"width: 757px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-savesheetid.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8517\" class=\"wp-image-8517 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-savesheetid.png\" alt=\"REST API Task - Save Google Sheet ID into Variable\" width=\"747\" height=\"613\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-savesheetid.png 747w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-savesheetid-300x246.png 300w\" sizes=\"(max-width: 747px) 100vw, 747px\" \/><\/a><p id=\"caption-attachment-8517\" class=\"wp-caption-text\">REST API Task &#8211; Save Google Sheet ID into Variable<\/p><\/div><\/li>\n<li>Now, click on the Test Request\/Response to check configures are ok.<\/li>\n<li>Click on the OK button to save REST API Task configure setting UI.<\/li>\n<li>Double click on the second REST API(Clear Google Sheet of all values) Task to configure it.<\/li>\n<li>In the\u00a0Request Settings tab,\n<ol>\n<li>Enter the URL below. Change Sheet ID and API URL Parameters as per your need.\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/{{User::varGoogleSpreadsheetID}}:batchUpdate<\/pre>\n<p><strong>Example URL without variables (some part masked with xxxxxxxx):<\/strong><\/p>\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/1tuGO3_-2JlSmyiHwX6xxxxxxxxCHrORJc:batchUpdate<\/pre>\n<\/li>\n<li>Change Request Method to\u00a0<strong>POST.\u00a0<\/strong>Enter Request Body as below and change a variable parameter\u00a0as per your need.\n<pre class=\"lang:default decode:true\">{\r\n  \"requests\": [\r\n    {\r\n      \"updateCells\": {\r\n        \"range\": {\r\n          \"sheetId\": {{User::varGoogleSheetID}}\r\n        },\r\n        \"fields\": \"userEnteredValue\"\r\n      }\r\n    }\r\n  ]\r\n}<\/pre>\n<\/li>\n<li>Change Request Content type to\u00a0<strong>application\/JSON.<br \/>\n<\/strong><\/p>\n<div id=\"attachment_8518\" style=\"width: 1109px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8518\" class=\"wp-image-8518 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth.png\" alt=\"REST API Task Configure - Clear sheet of all values\" width=\"1099\" height=\"763\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth.png 1099w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-300x208.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-768x533.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/12\/ssis-clear-google-spreadsheet-using-rest-api-oauth-1024x711.png 1024w\" sizes=\"(max-width: 1099px) 100vw, 1099px\" \/><\/a><p id=\"caption-attachment-8518\" class=\"wp-caption-text\">REST API Task Configure &#8211; Clear sheet of all values<\/p><\/div><\/li>\n<\/ol>\n<\/li>\n<li>Click on the OK button to save REST API Task configure setting UI.<\/li>\n<li>That&#8217;s all, You are ready to Run or Execute Task and verify data into Google spreadsheet.<\/li>\n<\/ol>\n<h3>Clears range cell values from a spreadsheet<\/h3>\n<ol>\n<li>Double click on REST API Task to configure it.\u00a0Then, follow the way just like the previous section configures REST API Task.<\/li>\n<li>Here you need to set the value of Variable &#8220;<strong>varSpreadsheetValues<\/strong>&#8221; to &#8220;<strong>clear<\/strong>&#8221; or you can change it directly in URL <strong>append to clear <\/strong>and value of variable &#8220;<strong>varRange<\/strong>&#8221; (Change cell range and sheet name) as per your need. For more information about it click <a href=\"https:\/\/developers.google.com\/sheets\/api\/reference\/rest\/v4\/spreadsheets.values\/clear\" target=\"_blank\" rel=\"noopener\">here.<\/a>\n<ol>\n<li>Enter the URL below. Change Sheet ID, Range designator(including Sheet name) and API URL Parameters as per your need.\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/{{User::varGoogleSpreadsheetID}}\/values\/{{User::varRange}}:{{User::varSpreadsheetValues}}?valueInputOption={{User::varValueInputOption}}<\/pre>\n<p><strong>Example URL without variables (some part masked with xxxxxxxx):<\/strong><\/p>\n<pre class=\"lang:default decode:true\">https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/1tuGO3_-2JlSmyiHwX6xxxxxxxxCHrORJc\/values\/Sheet1!A2:B4:clear?valueInputOption=USER_ENTERED<\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<li>Change Request Method to\u00a0<strong>POST.<\/strong><\/li>\n<li>Enter Request Body as below\n<pre class=\"lang:default decode:true\">{}<\/pre>\n<\/li>\n<li>Change Request Content type to\u00a0<strong><strong><strong>application\/JSON.<\/strong><\/strong><\/strong><\/li>\n<li>That&#8217;s all, click on the Test Request\/Response button and verify data into Google spreadsheet.<\/li>\n<\/ol>\n<h2><span id=\"Conclusion\">Conclusion<\/span><\/h2>\n<p>Google Drive API and Google Sheets API provide a great way to automate file-related functionality. However, to call Google API \u00a0you have to use the SDK \/ coding approach (e.g. C#, Java, Python, Ruby). Luckily ZappySys\u00a0<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">SSIS PowerPack<\/a>\u00a0provides a great way to integrate any Google API call via simple drag and drop approach without coding. Try out yourself see how long it takes to call virtually any REST API.<\/p>\n<h2>References<\/h2>\n<p>Finally, you can use the following links for more information:<\/p>\n<ul>\n<li><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-generator-transform\/\" target=\"_blank\" rel=\"noopener\">JSON Generator Transform<\/a><\/li>\n<li><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-web-api-destination-connector\/\" target=\"_blank\" rel=\"noopener\">Web API Destination<\/a><\/li>\n<li><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-rest-api-web-service-task\/\" target=\"_blank\" rel=\"noopener\">REST API Task<\/a><\/li>\n<li>Help File:\n<ul>\n<li><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-json-generator-transform.htm\" target=\"_blank\" rel=\"noopener\">JSON Generator Transform<\/a><\/li>\n<li><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-web-api-destination.htm\" target=\"_blank\" rel=\"noopener\">Web API Destination<\/a><\/li>\n<li><a href=\"https:\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/ssis-rest-api-web-service-task.htm\" target=\"_blank\" rel=\"noopener\">REST API Task<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this post, you will learn\u00a0How to write\/update Google Sheet in SSIS. We will use drag and drop REST API connectors from\u00a0SSIS PowerPack. No need to download any SDK or learn programming languages\u00a0(e.g. JAVA, C#, Ruby, Python) when you use SSIS PowerPack Connectors. We will use the Google Drive API and Google Sheet API [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1670,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[272,292,509,573,154,6,60,574,178,571,271,569,305,568,12,304,570,239,572,529],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>How to write\/update Google Sheet in SSIS | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"How to write\/update Google Sheet in SSIS using ZappySys PowerPack components REST API Task.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"How to write\/update Google Sheet in SSIS | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"How to write\/update Google Sheet in SSIS using ZappySys PowerPack components REST API Task.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ZappySys\/\" \/>\r\n<meta property=\"article:published_time\" content=\"2019-12-11T12:29:14+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2025-03-19T14:04:19+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"350\" \/>\r\n\t<meta property=\"og:image:height\" content=\"400\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/zappysys\/\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/\",\"url\":\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/\",\"name\":\"How to write\/update Google Sheet in SSIS | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png\",\"datePublished\":\"2019-12-11T12:29:14+00:00\",\"dateModified\":\"2025-03-19T14:04:19+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\"},\"description\":\"How to write\/update Google Sheet in SSIS using ZappySys PowerPack components REST API Task.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png\",\"width\":350,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to write\/update Google Sheet in SSIS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"sameAs\":[\"http:\/\/www.zappysys.com\/\",\"https:\/\/www.facebook.com\/ZappySys\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to write\/update Google Sheet in SSIS | ZappySys Blog","description":"How to write\/update Google Sheet in SSIS using ZappySys PowerPack components REST API Task.","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:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/","og_locale":"en_US","og_type":"article","og_title":"How to write\/update Google Sheet in SSIS | ZappySys Blog","og_description":"How to write\/update Google Sheet in SSIS using ZappySys PowerPack components REST API Task.","og_url":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/","og_site_name":"ZappySys Blog","article_author":"https:\/\/www.facebook.com\/ZappySys\/","article_published_time":"2019-12-11T12:29:14+00:00","article_modified_time":"2025-03-19T14:04:19+00:00","og_image":[{"width":350,"height":400,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/zappysys\/","twitter_misc":{"Written by":"ZappySys","Est. reading time":"17 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/","url":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/","name":"How to write\/update Google Sheet in SSIS | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png","datePublished":"2019-12-11T12:29:14+00:00","dateModified":"2025-03-19T14:04:19+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82"},"description":"How to write\/update Google Sheet in SSIS using ZappySys PowerPack components REST API Task.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/09\/google-sheets-api-integration.png","width":350,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/write-update-google-sheet-ssis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to write\/update Google Sheet in SSIS"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","caption":"ZappySys"},"sameAs":["http:\/\/www.zappysys.com\/","https:\/\/www.facebook.com\/ZappySys\/","https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/"],"url":"https:\/\/zappysys.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/8475"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=8475"}],"version-history":[{"count":35,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/8475\/revisions"}],"predecessor-version":[{"id":11271,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/8475\/revisions\/11271"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/1670"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=8475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=8475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=8475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}