iT邦幫忙

2025 iThome 鐵人賽

DAY 13
0

直接開始

退出gemini的介面,再開一個節點,選擇gmail
https://ithelp.ithome.com.tw/upload/images/20250927/20177920kvJryqzuPN.png
action選擇send a message
https://ithelp.ithome.com.tw/upload/images/20250927/20177920dIWpOtqer1.png
Credential to connect with的部分一樣創建新的
https://ithelp.ithome.com.tw/upload/images/20250927/20177920gtzlAbEhdK.png
開啟 Google Cloud Console https://console.cloud.google.com/
https://ithelp.ithome.com.tw/upload/images/20250927/20177920ktGfQqg1pR.png

左上角點擊選取專案
https://ithelp.ithome.com.tw/upload/images/20250927/20177920eHztS6mgxl.png
新增專案
https://ithelp.ithome.com.tw/upload/images/20250927/20177920UPKpvUUgx2.png
選擇api與服務,選擇程式庫,並搜尋gmail api,啟用它
https://ithelp.ithome.com.tw/upload/images/20250927/201779205Z2gJQy6VV.pnghttps://ithelp.ithome.com.tw/upload/images/20250927/20177920zAwt8tB6Mq.png
進去後選擇api與服務中的OAuth同意畫面
https://ithelp.ithome.com.tw/upload/images/20250927/201779203gffMpArte.png
按開始,先全部自己按就好
https://ithelp.ithome.com.tw/upload/images/20250927/20177920jg9srtVpw6.png
建立用戶端
https://ithelp.ithome.com.tw/upload/images/20250927/201779200mi5RaBMkg.png
選擇網頁應用程式,名字自己填,新增重新導向url
https://ithelp.ithome.com.tw/upload/images/20250927/20177920A0anYjiKaM.png
把剛剛n8n連結OAuth的重定向URL填進來
點擊建立,會彈出這個畫面
https://ithelp.ithome.com.tw/upload/images/20250927/20177920seRJwmZiRi.png
再點進去找到客戶端密碼
https://ithelp.ithome.com.tw/upload/images/20250927/20177920ZYD01biQdM.png
把這兩個填到n8n裡

接著回到cloud那邊選擇目標對象,在測試使用者那裏新增你自己的信箱
https://ithelp.ithome.com.tw/upload/images/20250927/20177920rjgk4bkA1b.png
回到N8n,點選sign in with google,登入你剛剛放測試使用者的信箱
https://ithelp.ithome.com.tw/upload/images/20250927/20177920MeQ1wKBNrY.png
照著你要打打勾,目前我們只要傳電子郵件,沒其他要求就跟著我勾就好了,成功之後TO欄打上自己的電子信箱,留言的部分把左側的文字拉過去就好
https://ithelp.ithome.com.tw/upload/images/20250927/20177920FodCgHyKNA.png
最後到自己的電子信箱看看是否有傳出來

https://ithelp.ithome.com.tw/upload/images/20250927/20177920ouDMo9yj6x.png


上一篇
d12 n8n節點測試
下一篇
d14
系列文
這是一個一個一個 Python API 與 Gemini 整合、n8n入門指南14
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言