업무를 수행하는 데 Google Sheets에서 많은 시간을 할애해야 하나요? Looker의 안전한 OAuth 기반 작업을 사용하여 일회성 또는 반복적으로 Looker에서 Google Sheets로 CSV를 직접 전송할 수 있습니다.
Google Sheets 작업은 Looker 작업 허브를 통해 Looker와 통합됩니다. Looker 관리자가 작업 허브에서 Google Sheets 작업을 사용 설정하면 사용자는 Look 또는 Explore를 전송하거나 예약할 때 Google Sheets를 가능한 대상으로 선택할 수 있습니다.
이 페이지에서는 Looker에서 관리자가 Google Sheets 작업을 사용 설정하는 방법을 안내합니다. 또한 적절한 권한이 있는 사용자가 CSV 형식으로 Google 시트로 전송을 전송하거나 전송을 예약하는 방법도 설명합니다.
Looker에서 Google Sheets 작업 사용 설정
Looker 관리자는 다음 단계에 따라 Looker에서 Google Sheets 작업을 사용 설정할 수 있습니다.
관리 패널로 이동하고 플랫폼에서 작업 페이지로 이동합니다.
작업 허브 작업 목록에서 Google Sheets로 스크롤하고 사용 설정 버튼을 클릭합니다.
Google Sheets 작업 페이지에서 사용 설정됨 전환 버튼을 클릭하여 켜짐으로 설정하고 저장을 클릭합니다.
Action Hub 작업 목록으로 돌아오면 Google Sheets 작업이 사용 설정되어 있을 것입니다.
관리자와 사용자(send_to_integration 권한이 있는 경우)는 이제 CSV 형식의 Look 또는 Explore를 Google 시트로 전송하거나 예약할 수 있습니다.
Google 시트에 CSV 형식의 데이터 전송
send_to_integration 권한이 있는 모든 Looker 사용자는 CSV 형식의 Look 또는 Explore를 Google 시트로 보내거나 예약할 수 있습니다.
Google Sheets에서 시트 전체의 셀 수는 1,000만 개로 제한됩니다. 데이터 테이블에 이 한도를 초과하는 열, 행 또는 탭이 있는 경우 Google 시트 통합 전송이 실패합니다.
전송하거나 예약하기 전에 데이터를 준비하려면 다음 단계를 따르세요.
수평 확장: 데이터 테이블에 열이 26개 넘게 있는 경우 기존 Google 시트로 데이터를 가져오려면 먼저 Google 시트를 직접 확장해야 합니다.
수직 확장: 데이터 테이블에 행이 1,000개 넘게 있으면 Looker에서 기본적으로 해당 행을 Google 시트에 추가합니다.
덮어쓰기: 데이터를 기존 Google 시트로 가져오려는 경우 Google 시트의 별도 탭에 수식을 작성하여 수식의 로직을 유지합니다. Google 시트 작업의 덮어쓰기 기능을 사용하면 Google 시트가 동적으로 업데이트되고 데이터가 Google 시트의 첫 번째 또는 가장 왼쪽 탭에 자동으로 로드됩니다. 데이터의 전체 기록을 확보하고 시간 경과에 따른 변경사항을 추적할 수 있도록 데이터를 전송할 때마다 새 스프레드시트를 만들려면 Google 시트 작업의 덮어쓰기 기능을 사용하지 마세요.
콘텐츠를 전송하거나 예약하려면 다음 단계를 따르세요.
스케줄러에서 이 데이터는 어디에 있어야 하나요? 옆의 전송 대상으로 Google Sheets를 선택합니다.
Google Drive에 처음 전송하는 경우 Google 사용자 인증 정보로 인증해야 합니다. Google 계정으로 로그인을 클릭하고 Google 계정을 지정한 다음 허용을 클릭하여 Looker 계정을 Google OAuth 사용자 인증 정보에 연결합니다. 이 통합에는 Google OAuth 2.0 사용자 인증 정보 세트 1개만 연결할 수 있습니다.
스케줄러에서 사용자 인증 정보 확인을 클릭하여 Google Drive를 로드합니다.
파일을 저장할 드라이브 선택 드롭다운에서 CSV 파일을 저장할 Google Drive를 선택합니다.
그런 다음 이 드라이브에 있는 폴더의 URL을 입력하거나 Drive에 있는 모든 폴더를 가져올 수 있습니다.
Google Drive 도착 URL 입력란에 데이터를 저장할 폴더의 전체 Google Drive URL을 입력합니다. 예를 들면 https://drive.google.com/corp/drive/folders/abcxyz입니다. 이 URL에 액세스할 수 없는 경우 데이터가 Google Drive의 루트 폴더에 저장됩니다.
가져오기를 선택하여 이 드라이브의 폴더 목록을 가져옵니다 드롭다운에서 가져오기를 선택합니다. 스케줄러 대화상자가 새로고침되면 파일을 저장할 폴더 선택 드롭다운에서 CSV 파일을 저장할 Google Drive 폴더를 선택합니다.
파일 이름 입력 필드에 Google 시트 파일 이름을 지정합니다. 파일 확장자를 포함하지 않아도 Google Sheets 작업을 실행하면 전송 중에 자동으로 추가됩니다.
기존 파일 덮어쓰기 드롭다운에서 예 또는 아니요를 선택합니다. 아니요를 선택하면 데이터가 전송될 때마다 데이터 스냅샷이 포함된 새 Google 시트가 생성됩니다. 예를 선택하면 기존 Google 시트의 첫 번째 또는 가장 왼쪽 탭에 데이터가 로드됩니다.
Google Sheets 셀 한도로 인해 덮어쓰기 옵션을 선택하는 경우 각 전송 중에 추가된 탭으로 인해 시트가 1,000만 개의 셀 한도를 초과해서는 안 됩니다. 셀 한도를 초과하면 후속 일정이 실패합니다.
CSV의 고급 옵션에는 맞춤설정 가능한 한도와 형식이 있습니다. 보내기 또는 예약을 클릭합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-05(UTC)"],[],[],null,["# Looker actions – Google Sheets\n\n| **Note:** You can also connect Google Sheets to Looker directly using the **Connected Sheets for Looker** feature. This feature lets users interactively explore data from LookML models through the familiar Google Sheets spreadsheet interface. Sheets users will have access to governed data from the databases that are supported by Looker. Exploration is intuitive since Connected Sheets presents an organized view of the model with views, fields, and measures just as they were defined in Looker. Looker data through Connected Sheets presents Looker data in standard Sheets constructs, such as pivot tables, charts, and formulas, allowing for flexibility of analysis through familiar constructs. For more information, see the [Using Connected Sheets for Looker](/looker/docs/connected-sheets) documentation page. For an overview of all the ways that Looker integrates with Google Sheets, see the [How Looker integrates with Google](/looker/docs/looker-google-integrations#google_sheets) documentation page.\n\u003e Customer-hosted instances may be unable to enable actions from the Looker Action Hub, especially actions that [support streamed results](/looker/docs/action-hub#uses_streaming) or that use [OAuth](/looker/docs/action-hub#configuring_an_action_for_oauth), if the customer-hosted Looker instance does not fulfill the [Looker Action Hub requirements](/looker/docs/action-hub#looker_action_hub_requirements).\n\u003e\n\u003e See the [Sharing data through an action hub](/looker/docs/action-hub#considerations_for_customer-hosted_instances) documentation page for suggested solutions to this potential issue.\n\n\nDoes your work require you to spend a lot of time in Google Sheets? You can use Looker's secure, OAuth-based action to send CSVs directly from Looker to Google Sheets on a one-off or recurring basis.\n\n\nThe Google Sheets action is integrated with Looker through the [Looker Action Hub](/looker/docs/admin-panel-platform-actions). Once the Looker admin has enabled the Google Sheets action in the Action Hub, users can select Google Sheets as a possible destination when sending or scheduling Looks or Explores.\n\n\nThis page walks admins through enabling the Google Sheets action in Looker. It also describes how any user who has the appropriate [permissions](/looker/docs/admin-panel-users-roles#permissions_list) can send or schedule deliveries in CSV format to a Google Sheet.\n| **Note:** If you have a permission that provides access to only select pages in the Admin panel, such as [`manage_schedules`](/looker/docs/admin-panel-users-roles#manage_schedules), [`manage_themes`](/looker/docs/admin-panel-users-roles#manage_themes), or [`see_admin`](/looker/docs/admin-panel-users-roles#see_admin), but you don't have the [Admin role](/looker/docs/admin-panel-users-roles#default_roles), the page or pages that are described here may not be visible to you in the Admin panel.\n\n\u003cbr /\u003e\n\nEnabling the Google Sheets action in Looker\n-------------------------------------------\n\nLooker admins can enable the Google Sheets action in Looker with the following steps:\n\n1. Go the **Admin** panel and, under **Platform** , go to the **Actions** page.\n2. On the list of Action Hub actions, scroll to Google Sheets and click the **Enable** button.\n3. On the **Google Sheets** action page, click the **Enabled** toggle to the on position, and click **Save**.\n4. When you return to the list of Action Hub actions, your Google Sheets action should be enabled.\n\n\nYou and your users --- if they have `send_to_integration` permissions --- can now send or schedule Looks or Explores in CSV format to a Google Sheet.\n\nDelivering data in CSV format to a Google Sheet\n-----------------------------------------------\n\n\nAny Looker user who has `send_to_integration` permissions can send or schedule Looks or Explores in CSV format to a Google Sheet.\n\u003e Google Sheets are [limited to 10 million cells](https://support.google.com/drive/answer/37603) for the entire Sheet. If your data table has columns, rows, or tabs that exceed this limit, any deliveries to the Google Sheet integration will fail.\n\nTo prepare your data before sending or scheduling it, follow these steps:\n\n- **Horizontal scaling:** If your data table contains more than 26 columns and you plan to import the data to an existing Google Sheet, you'll need to manually expand the Google Sheet before you can import your data into it.\n- **Vertical scaling:** If your data table contains more than 1,000 rows, Looker will add those rows to your Google Sheet by default.\n- **Overwriting:** If you're going to import your data into an existing Google Sheet, write any formulas on a separate tab of your Google Sheet to preserve the logic in your formulas. If you use the Google Sheets action's overwrite function, the action dynamically updates your Google Sheet, and your data will automatically be loaded into the first or leftmost tab of your Google Sheet. If you'd prefer to create a new spreadsheet with each data delivery so that you have a full history of your data and can track changes over time, don't use the Google Sheets action's overwrite function.\n\n\nTo send or schedule your content, follow these steps:\n\n1. From the [Scheduler](/looker/docs/delivering-looks-explores), next to **Where should this data go?** , select **Google Sheets** as your delivery destination.\n2. If you're delivering to Google Drive for the first time, you'll need to authenticate with your Google credentials. Click **Sign in with Google** , specify your Google Account, and then click **Allow** to connect your Looker account to your Google OAuth credentials. You can connect only one set of Google OAuth 2.0 credentials to this integration.\n3. In the Scheduler, click **Verify credentials** to load your Google Drive.\n4. From the **Select Drive to save file** drop-down, choose the Google Drive where your CSV file will be saved.\n\n Next, you can either enter the URL for a folder in this Drive or fetch all folders in your Drive.\n - In the **Google Drive Destination URL** field, enter the full Google Drive URL of the folder where you want to save your data. For example: `https://drive.google.com/corp/drive/folders/abcxyz`. If this URL isn't accessible, your data will be saved to the root folder of your Google Drive.\n - From the **Select Fetch to fetch a list of folders in this drive** drop-down, select **Fetch** . After the Scheduler dialog refreshes, from the **Select folder to save file** drop-down, select the Google Drive folder where your CSV file will be saved.\n5. Specify the name of your Google Sheet file in the **Enter a filename** field. You don't need to include the file extension --- the Google Sheets action will automatically append it during delivery.\n6. In the **Overwrite Existing Files** drop-down, select **Yes** or **No** . Selecting **No** will generate a new Google Sheet with a snapshot of your data with every data delivery. Selecting **Yes** will load your data in the first or leftmost tab of your existing Google Sheet.\n\u003e Because of [Google Sheets cell limits](https://support.google.com/drive/answer/37603), if you choose the overwrite option, keep in mind that the tabs that are added during each delivery cannot cause the Sheet to exceed the 10 million cell limit. Once the cell limit is exceeded, subsequent schedules will fail.\n7. Advanced options for CSVs include customizable [limit](/looker/docs/delivering-looks-explores#limit) and [format](/looker/docs/delivering-looks-explores#format_options). Click **Send** or **Schedule**.\n8. Refresh your Google Drive folder to see your file delivery.\n\nSwitching Google Accounts\n-------------------------\n\nTo associate a different Google Account with this action, you must delete the account's connection to the Looker instance. To learn more, see [Manage connections between your Google Account and third-parties](https://support.google.com/accounts/answer/13533235).\n\n\u003cbr /\u003e"]]