只要15分鐘,快速建立自己的GenAI LineBOT-Gemini Canvas x Google App Script(GAS) x Google sheet_2026_更多內容請期待AIPOST
00:00 Demonstration and Preparatory Work 00:38 Creating Folders and Spreadsheet Fields 02:41 Preparing the LINE Official Account and Test Bot 04:59 Creating a LINE Channel and Basic Settings 05:45 Differences Between LINE Official Account Levels and Authentication 07:53 Adding a Gemini API Key Field 08:42 Creating an API Key in Google AI Studio 09:20 API Key Naming, Purpose, and Free Quota 10:41 Deploying a Google Apps Script as a Web Application 11:43 Scope of Authorization and Data Security Instructions 12:30 Copying the Deployment URL and Updating LINE Settings 13:23 Testing the Bot and Troubleshooting Version Errors 13:44 Redeploying After Modifying the Program 14:22 Setting Up Traditional Chinese Response Characters 14:29 Checking Spreadsheet Write-back Fields 14:45 Testing Questions: YouTube Marketing 15:27 Complete Bot Interaction Verification This demonstration showcases how to quickly build a Line bot capable of responding to user messages using Google App Script and Gemini AI technology. The core process includes storing data in a Google Sheet, setting up an official Line account to obtain the necessary Channel Access Token, and generating a Gemini API Key through AI Studio. The meeting emphasized that, for a quick demonstration, concise prompts would be used initially, rather than long, fully functional prompts, to avoid quickly exhausting the free account's token bandwidth. Regarding data storage, Google Sheet was chosen to record timestamps, user IDs, user messages, and AI responses. Folders and spreadsheets needed to be created beforehand. When deploying Google App Script, it was specifically noted that access permissions needed to be set to "Everyone" for successful connection to the Line platform. The meeting also encountered an issue where the bot initially responded in Simplified Chinese; this was addressed by specifying Traditional Chinese and Taiwanese terminology through "Personality Settings" (i.e., prompt engineering). This demonstrates the complete Linebot build process, from environment preparation and API settings to code deployment and initial testing, and provides immediate solutions to potential problems, such as Gemini API version updates. Key Notes: Enabling the `Canvas` tool facilitates the visualization of the code. Data is stored in `Google Sheets`, including fields for time, `User ID`, user information, and AI response messages. The name can be customized, such as "AI Poster". Creating an official Line account is a prerequisite. It requires applying using a personal Line account and obtaining a `Channel Access Token` from the `Messaging API` settings. Official Line accounts have three levels: gray shield (unverified), blue shield (business/enterprise verified), and green shield (official Line verification). Unverified accounts are gray. Unlike typical cloud tools, `Google App Script` does not have an instant save function; manual saving is required after each modification. Gemini API Keys can be created using AI Studio. Multiple API Keys can be created per project for use by different tools, and the Free Tier is free. When deploying Google App Script as a web application, access permissions must be set to "Everyone" to ensure proper access from the Line platform. Granting access permissions to Google App Script is relatively secure, as its permissions are limited to specified Google Sheets or cloud folders. In the code, the Gemini API version number may need to be manually adjusted to a newer version (e.g., 2.5) to avoid "Unable to process request" errors. Any code modifications must be redeployed with Google App Script for the changes to take effect. Linebot may initially respond in Simplified Chinese; this requires further specification using Prompt engineering to use Traditional Chinese and Taiwanese terminology. Linebot successfully records user messages and AI responses to Google Sheets. Currently, the robot's responses are based on its own AI training data and do not yet integrate search functionality, therefore it is not suitable for asking immediate or specific factual questions. Keywords: LINE Bot, LINE Official Account, LINE Channel, Google Sheets, Google Apps Script, Google AI Studio, Gemini API key, webhook integration, web application deployment, spreadsheet write-back, tutorial demonstration, Traditional Chinese settings, YouTube marketing, AI assistant, administrative applications Hashtags: #LINEBot #GoogleAppsScript #GoogleSheets #GeminiAPI #AIStudio #Webhook #tutorialapplication #administrativeapplication #automationtools #TraditionalChinese #YouTubemarketing #AIAssistant #Spreadsheets #GoogleAppsScript #GAStutorial #AutomationWorkflow Stay tuned for more content from AI POST

建立GenAI + LINEBOT (使用 Google App Script x LineBOT x Gemini)_1 ( 2024 08 15 09 11 35

从 LLM 到 Agent Skill,一期视频带你打通底层逻辑!

第一主題:GAS 即時數據圖 Dashboard 第二亮點:Claude Skill 做競賽知識圖譜搜尋 第三延伸:Codex 快速生成競賽網站 Prototype

ai中转站搭建到运营全流程拆解

From Zero to Your First AI Agent in 25 Minutes (No Coding)

《哈萨比斯:谷歌AI之脑》:一个想"读懂上帝心智"的天才,如何一手引爆AI革命与人类危机丨DeepMind、AlphaGo、Gemini的创生之旅

給我一個理由忘記公式! 讓 AI 幫你寫 App Script | 3個超實用的 Google 文件自動化案例

移民10年, 还是决定离开加拿大!

【Vibe Coding 學習地圖】用實戰帶你搞懂 Gemini、Google AI Studio、Antigravity 的使用情境

体育评书:这届世界杯真黑!

林彪始末合并版,林彪为何要逃跑?|毛林发生了什么底层矛盾|林彪|毛泽东|913事件|五七一工程|文革|四野战神|林副统帅|林彪叛逃|历史真相|林彪坠机|庐山会议|接班人|

NotebookLM 完整教學!93%的人還不知道的8個隱藏用法,完勝ChatGPT| 分析報告 | 會議記錄 | 自動生成Podcast、教學影片

How To Master Google Gemini in 2026 (Free Course)

上海比30年前更好了么?papi酱对话陈丹青:那些被繁华掩盖的残酷真相,太敢聊了!#第一人称复数 #陈丹青 #papi酱 #上海 #时代变迁 #城市文化 #认知升级 #窦文涛 #圆桌派

The AfD and the German Discomfort With Themselves – Weltwoche Daily EN

【商戰】Gemini才是最強AI!2大祕密武器讓GPT哭了!關鍵轉折一次看懂 ft.財經專家 阮慕驊|下班經濟學677|張瓊方

AI巨头们之间的资本混战,到底是个什么情况?

硅谷坐标 x 中际旭创 于让尘:AI 光互连的超级周期

Codex保姆级教程!零基础从入门到精通,看这一条视频就够了 |codex |ai |智能体 |ai工具

