Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "nodes": [
- {
- "parameters": {
- "pollTimes": {
- "item": [
- {
- "mode": "everyMinute"
- }
- ]
- },
- "simple": false,
- "filters": {
- "includeSpamTrash": true,
- "sender": "[email protected]"
- },
- "options": {}
- },
- "id": "06144a0c-288c-4470-a0d4-661419fbf87b",
- "name": "Gmail Trigger1",
- "type": "n8n-nodes-base.gmailTrigger",
- "position": [
- 1700,
- 320
- ],
- "typeVersion": 1,
- "credentials": {
- "gmailOAuth2": {
- "id": "0sq2Ebijwpn4E39U",
- "name": "Gmail account 2"
- }
- }
- },
- {
- "parameters": {
- "fields": {
- "values": [
- {
- "name": "recipients",
- "type": "arrayValue",
- "arrayValue": "['[email protected]','[email protected]']"
- }
- ]
- },
- "options": {}
- },
- "id": "b5a28cf9-180e-4281-adf2-14156841ba1c",
- "name": "Set all recipients1",
- "type": "n8n-nodes-base.set",
- "position": [
- 2040,
- 320
- ],
- "typeVersion": 3.2
- },
- {
- "parameters": {
- "fieldToSplitOut": "recipients",
- "include": "allOtherFields",
- "options": {
- "destinationFieldName": "recipient"
- }
- },
- "id": "7f09f9fd-3004-47b9-abc6-0dc8b78d3c0a",
- "name": "Split Out recipients1",
- "type": "n8n-nodes-base.splitOut",
- "position": [
- 2340,
- 320
- ],
- "typeVersion": 1
- },
- {
- "parameters": {
- "content": "## Gmail\n1. Connect your Gmail Account, where you are receiving emails from your Netflix account. \n2. Set the polling intervall",
- "height": 332,
- "width": 257
- },
- "id": "20a17cfb-9662-40d2-ad3a-c84fc163dabc",
- "name": "Sticky Note2",
- "type": "n8n-nodes-base.stickyNote",
- "position": [
- 1620,
- 160
- ],
- "typeVersion": 1
- },
- {
- "parameters": {
- "content": "## Set all recipients\nReplace the sample emails in the array with the email addresses of your friends and family to whom you want to forward the Netflix emails",
- "height": 338,
- "width": 249
- },
- "id": "f17720e3-9fae-4ba8-a966-77105a52287e",
- "name": "Sticky Note3",
- "type": "n8n-nodes-base.stickyNote",
- "position": [
- 1960,
- 160
- ],
- "typeVersion": 1
- },
- {
- "parameters": {
- "fromEmail": "[email protected]",
- "toEmail": "={{ $json.recipient }}",
- "subject": "={{ $json.headers.subject }}",
- "emailFormat": "both",
- "text": "={{ $json.text }}",
- "html": "={{ $json.html }}",
- "options": {
- "appendAttribution": false
- }
- },
- "id": "e90788fb-5470-434b-ab84-4cf4a41a0c73",
- "name": "Send Email",
- "type": "n8n-nodes-base.emailSend",
- "typeVersion": 2.1,
- "position": [
- 2620,
- 340
- ],
- "webhookId": "c921eaa6-f154-4081-8904-8a43c65afdac",
- "credentials": {
- "smtp": {
- "id": "2Idj16szhcN282bw",
- "name": "SMTP account"
- }
- }
- }
- ],
- "connections": {
- "Gmail Trigger1": {
- "main": [
- [
- {
- "node": "Set all recipients1",
- "type": "main",
- "index": 0
- }
- ]
- ]
- },
- "Set all recipients1": {
- "main": [
- [
- {
- "node": "Split Out recipients1",
- "type": "main",
- "index": 0
- }
- ]
- ]
- },
- "Split Out recipients1": {
- "main": [
- [
- {
- "node": "Send Email",
- "type": "main",
- "index": 0
- }
- ]
- ]
- }
- },
- "pinData": {},
- "meta": {
- "templateId": "2279",
- "instanceId": "87715fa7dd9f6cbad2759e70ab2070d786fcbb9fff3f4e7e32645acf20a9f415"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment