Guest User

auto email sender netflix

a guest
Mar 21st, 2025
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. {
  2. "nodes": [
  3. {
  4. "parameters": {
  5. "pollTimes": {
  6. "item": [
  7. {
  8. "mode": "everyMinute"
  9. }
  10. ]
  11. },
  12. "simple": false,
  13. "filters": {
  14. "includeSpamTrash": true,
  15. "sender": "[email protected]"
  16. },
  17. "options": {}
  18. },
  19. "id": "06144a0c-288c-4470-a0d4-661419fbf87b",
  20. "name": "Gmail Trigger1",
  21. "type": "n8n-nodes-base.gmailTrigger",
  22. "position": [
  23. 1700,
  24. 320
  25. ],
  26. "typeVersion": 1,
  27. "credentials": {
  28. "gmailOAuth2": {
  29. "id": "0sq2Ebijwpn4E39U",
  30. "name": "Gmail account 2"
  31. }
  32. }
  33. },
  34. {
  35. "parameters": {
  36. "fields": {
  37. "values": [
  38. {
  39. "name": "recipients",
  40. "type": "arrayValue",
  41. "arrayValue": "['[email protected]','[email protected]']"
  42. }
  43. ]
  44. },
  45. "options": {}
  46. },
  47. "id": "b5a28cf9-180e-4281-adf2-14156841ba1c",
  48. "name": "Set all recipients1",
  49. "type": "n8n-nodes-base.set",
  50. "position": [
  51. 2040,
  52. 320
  53. ],
  54. "typeVersion": 3.2
  55. },
  56. {
  57. "parameters": {
  58. "fieldToSplitOut": "recipients",
  59. "include": "allOtherFields",
  60. "options": {
  61. "destinationFieldName": "recipient"
  62. }
  63. },
  64. "id": "7f09f9fd-3004-47b9-abc6-0dc8b78d3c0a",
  65. "name": "Split Out recipients1",
  66. "type": "n8n-nodes-base.splitOut",
  67. "position": [
  68. 2340,
  69. 320
  70. ],
  71. "typeVersion": 1
  72. },
  73. {
  74. "parameters": {
  75. "content": "## Gmail\n1. Connect your Gmail Account, where you are receiving emails from your Netflix account. \n2. Set the polling intervall",
  76. "height": 332,
  77. "width": 257
  78. },
  79. "id": "20a17cfb-9662-40d2-ad3a-c84fc163dabc",
  80. "name": "Sticky Note2",
  81. "type": "n8n-nodes-base.stickyNote",
  82. "position": [
  83. 1620,
  84. 160
  85. ],
  86. "typeVersion": 1
  87. },
  88. {
  89. "parameters": {
  90. "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",
  91. "height": 338,
  92. "width": 249
  93. },
  94. "id": "f17720e3-9fae-4ba8-a966-77105a52287e",
  95. "name": "Sticky Note3",
  96. "type": "n8n-nodes-base.stickyNote",
  97. "position": [
  98. 1960,
  99. 160
  100. ],
  101. "typeVersion": 1
  102. },
  103. {
  104. "parameters": {
  105. "fromEmail": "[email protected]",
  106. "toEmail": "={{ $json.recipient }}",
  107. "subject": "={{ $json.headers.subject }}",
  108. "emailFormat": "both",
  109. "text": "={{ $json.text }}",
  110. "html": "={{ $json.html }}",
  111. "options": {
  112. "appendAttribution": false
  113. }
  114. },
  115. "id": "e90788fb-5470-434b-ab84-4cf4a41a0c73",
  116. "name": "Send Email",
  117. "type": "n8n-nodes-base.emailSend",
  118. "typeVersion": 2.1,
  119. "position": [
  120. 2620,
  121. 340
  122. ],
  123. "webhookId": "c921eaa6-f154-4081-8904-8a43c65afdac",
  124. "credentials": {
  125. "smtp": {
  126. "id": "2Idj16szhcN282bw",
  127. "name": "SMTP account"
  128. }
  129. }
  130. }
  131. ],
  132. "connections": {
  133. "Gmail Trigger1": {
  134. "main": [
  135. [
  136. {
  137. "node": "Set all recipients1",
  138. "type": "main",
  139. "index": 0
  140. }
  141. ]
  142. ]
  143. },
  144. "Set all recipients1": {
  145. "main": [
  146. [
  147. {
  148. "node": "Split Out recipients1",
  149. "type": "main",
  150. "index": 0
  151. }
  152. ]
  153. ]
  154. },
  155. "Split Out recipients1": {
  156. "main": [
  157. [
  158. {
  159. "node": "Send Email",
  160. "type": "main",
  161. "index": 0
  162. }
  163. ]
  164. ]
  165. }
  166. },
  167. "pinData": {},
  168. "meta": {
  169. "templateId": "2279",
  170. "instanceId": "87715fa7dd9f6cbad2759e70ab2070d786fcbb9fff3f4e7e32645acf20a9f415"
  171. }
  172. }
Advertisement
Add Comment
Please, Sign In to add comment