受信したメールを新しい行としてGoogle Sheetsスプレッドシートに追加する
初級
これはOther, Building Blocks分野の自動化ワークフローで、4個のノードを含みます。主にGmailTrigger, GoogleSheetsなどのノードを使用。 受信した新しいメールをGoogleスプレッドシートの新しい行として追加
前提条件
- •Googleアカウント + Gmail API認証情報
- •Google Sheets API認証情報
使用ノード (4)
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "dCLvOuZgc8tToQwu",
"meta": {
"instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa",
"templateCredsSetupCompleted": true
},
"name": "Add new incoming emails to a Google Sheets spreadsheet as a new row.",
"tags": [],
"nodes": [
{
"id": "4db1f92f-6425-41c4-8f26-94e13ef5cd1f",
"name": "Gmail トリガー",
"type": "n8n-nodes-base.gmailTrigger",
"notes": "Gmail Trigger\n",
"position": [
-200,
-20
],
"parameters": {
"filters": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"credentials": {
"gmailOAuth2": {
"id": "",
"name": ""
}
},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "77c70cbd-fca7-4925-9a47-e2c903b8a64e",
"name": "Google スプレッドシート",
"type": "n8n-nodes-base.googleSheets",
"position": [
180,
-20
],
"parameters": {
"columns": {
"value": {
"body": "={{ $json.snippet }}",
"Subject": "={{ $json.Subject }}",
"Sender Email": "={{ $json.From }}"
},
"schema": [
{
"id": "Sender Email",
"type": "string",
"display": true,
"required": false,
"displayName": "Sender Email",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Subject",
"type": "string",
"display": true,
"required": false,
"displayName": "Subject",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "body",
"type": "string",
"display": true,
"required": false,
"displayName": "body",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "",
"cachedResultName": ""
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1o28BFBtzzsnwN01VTcfRp2BUyAFi9e-91H_b920_gJc",
"cachedResultUrl": "",
"cachedResultName": ""
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "",
"name": ""
}
},
"typeVersion": 4.5
},
{
"id": "0bc68783-e959-40f7-8cc3-a8800e62029a",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
-80
],
"parameters": {
"color": 2,
"width": 660,
"height": 260,
"content": "### Add new incoming emails to a Google Sheets spreadsheet as a new row.\n"
},
"typeVersion": 1
},
{
"id": "90a94a4d-60fc-40d2-8b1e-1bf01c98d789",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
200
],
"parameters": {
"color": 2,
"width": 660,
"content": "## Description :\nThis n8n workflow automates the process of storing email details in a spreadsheet whenever a new email is received. It utilizes the Email Trigger node to detect incoming emails and then extracts the sender, subject, and email content, which are subsequently saved into a spreadsheet (e.g., Google Sheets or an Excel file). This ensures a structured record of emails for further processing, analysis, or reporting.\n\nYou can customize this workflow as per your requirements, such as adding additional columns in the spreadsheet to store more details or modifying it for different use cases, like lead tracking, customer inquiries, or automated email logging. "
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "d8ab2b16-b091-455b-ad43-8e117a49e297",
"connections": {
"Gmail Trigger": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
初級 - その他, ビルディングブロック
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
クライアントフィードバックサイクルアナライザー
AI、GoogleスプレッドシートとSlackで顧客フィードバックを自動分類
Code
Gmail
Slack
+
Code
Gmail
Slack
11 ノードWeblineIndia
その他
JPG/PNG画像をWebP形式に変換
APYHubおよびGoogle Driveを使用した画像自動最適化:JPG/PNGからWebPへの変換
Set
Code
Switch
+
Set
Code
Switch
12 ノードDavide
その他
Google連絡先の誕生日を毎日Slackに送信する
Google連絡先からの毎日の誕生日リマインダーをSlackへ送信
If
Slack
Filter
+
If
Slack
Filter
7 ノードWeblineIndia
その他
毎日の天気データの自動取得と保存
Airtable に毎日の天気データを取得して保存
Airtable
Http Request
Schedule Trigger
+
Airtable
Http Request
Schedule Trigger
5 ノードWeblineIndia
その他
Discordサーバー内の特定ロールを持つすべてのメンバーを取得
Discordサーバー内の特定ロールを持つすべてのメンバーを取得
If
Set
Merge
+
If
Set
Merge
16 ノードNiklas Hatje
その他
Google スプレッドシートと ExchangeRate API を使用して請求書の為替レートを自動更新
GoogleスプレッドシートとExchangeRate APIを使用して請求書の為替レートを自動更新
Set
Code
Merge
+
Set
Code
Merge
9 ノードSamir Saci
その他
ワークフロー情報
難易度
初級
ノード数4
カテゴリー2
ノードタイプ3
作成者
WeblineIndia
@weblineindiaA Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.
外部リンク
n8n.ioで表示 →
このワークフローを共有