AutomationFlowsAI & RAG › NASA Astronomy Chat to Gmail Emails

NASA Astronomy Chat to Gmail Emails

Original n8n title: N8n Agent to Take Data From Nasa and Makemailfromgmail to People

n8n_agent_to_take_data_from_NASA_and_MakeMailFromGmail_to_people. Uses chatTrigger, memoryBufferWindow, gmail, outputParserStructured. Chat trigger; 8 nodes.

Chat trigger trigger★★★☆☆ complexityAI-powered8 nodesChat TriggerMemory Buffer WindowGmailOutput Parser StructuredGroq ChatNasa ToolAgentGoogle Gemini Chat
AI & RAG Trigger: Chat trigger Nodes: 8 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "n8n_agent_to_take_data_from_NASA_and_MakeMailFromGmail_to_people",
  "nodes": [
    {
      "parameters": {
        "public": true,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.1,
      "position": [
        0,
        0
      ],
      "id": "d8e4c671-ba97-4b34-b8f0-397c94d3730b",
      "name": "When chat message received"
    },
    {
      "parameters": {},
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.3,
      "position": [
        -160,
        420
      ],
      "id": "3ba27b92-a507-4cd4-b6f5-a7745c89f3e9",
      "name": "Simple Memory"
    },
    {
      "parameters": {
        "sendTo": "rishirajbal384@gmail.com,iamdc2003@gmail.com",
        "subject": "space",
        "emailType": "text",
        "message": "={{ $json.output.body }}",
        "options": {
          "senderName": "Rishi"
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        580,
        20
      ],
      "id": "d6fd1220-3bfb-4001-8a63-1f5555450423",
      "name": "Send a message",
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "schemaType": "manual",
        "inputSchema": "{\n  \"output\": {\n    \"to\": \"deepkumar9124@gmail.com\",\n    \"subject\": \"Invitation to Apply: Aether-X Technologies Internship in Collaboration with NASA\",\n    \"body\": \"Dear Deep Kumar,\\n\\nI hope this message finds you well.\\n\\nMy name is Rishi, and I am part of the Human Resources team at Aether-X Technologies. I am pleased to inform you that, as part of our strategic collaboration with NASA, we are offering exclusive internship opportunities for selected students with strong academic and technical backgrounds.\\n\\nThe internship program will provide you with direct exposure to cutting-edge research and development in aerospace technology, satellite telemetry analysis, and quantum systems integration for next-generation space missions. You will have the opportunity to contribute to real-time research projects alongside engineers from both Aether-X Technologies and NASA.\\n\\nKey benefits of this program include:\\n- Mentorship from experienced engineers and researchers at Aether-X Technologies and NASA\\n- Competitive stipend and on-site accommodation for the duration of the internship\\n- Opportunity to co-author technical research papers and attend international space technology conferences\\n- Consideration for full-time positions within Aether-X Technologies\u2019 core research and development division upon successful completion of the internship\\n\\nTo be considered for this program, please complete the following application form at your earliest convenience:\\nhttps://docs.google.com/forms/d/e/1FAIpQLScycvYWpEkQLA48MHw3OSY6KEC52HLXZIAqtQ3VveEEiQViww/viewform?usp=header\\n\\nPlease ensure that you submit the form by the end of this week to be eligible for the current selection cycle.\\n\\nWe look forward to reviewing your application and potentially welcoming you to Aether-X Technologies.\\n\\nBest regards,\\n\\nRishi\\nHuman Resources Department  \\nAether-X Technologies\",\n    \"attachments\": [],\n    \"priority\": \"high\",\n    \"metadata\": {\n      \"generated_by\": \"AetherX_HR_Agent\",\n      \"timestamp\": \"2025-06-27T06:00:00Z\"\n    }\n  }\n}\n\n",
        "autoFix": true
      },
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "typeVersion": 1.3,
      "position": [
        340,
        280
      ],
      "id": "76210429-a41a-4c94-ad0d-5c83b688d410",
      "name": "Structured Output Parser",
      "notesInFlow": false
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatGroq",
      "typeVersion": 1,
      "position": [
        380,
        460
      ],
      "id": "66ad92e7-6176-4f5a-b2ec-2560d215de39",
      "name": "Groq Chat Model1",
      "credentials": {
        "groqApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.nasaTool",
      "typeVersion": 1,
      "position": [
        0,
        460
      ],
      "id": "00827d79-33e7-4f89-b0d2-2256f409167e",
      "name": "Get the astronomy picture of the day in NASA",
      "credentials": {
        "nasaApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "hasOutputParser": true,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2,
      "position": [
        220,
        0
      ],
      "id": "15e33f46-eaa0-448d-92c1-02fb8927a880",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "modelName": "models/gemini-2.0-flash",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "typeVersion": 1,
      "position": [
        -240,
        240
      ],
      "id": "0914b93b-039e-4096-a1ac-479b4649e554",
      "name": "Google Gemini Chat Model",
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Groq Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get the astronomy picture of the day in NASA": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c5f28800-4e35-489f-befc-e97e7d38931f",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "vXjTGZ1CsVXrdP7M",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

n8n_agent_to_take_data_from_NASA_and_MakeMailFromGmail_to_people. Uses chatTrigger, memoryBufferWindow, gmail, outputParserStructured. Chat trigger; 8 nodes.

Source: https://gitlab.com/Rishirajbal/My_n8n_Workflows/-/blob/main/n8n_agent_to_take_data_from_NASA_and_MakeMailFromGmail_to_people.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This Chatbot automates the process of discovering job openings and generating tailored job application emails.

Chat Trigger, OpenAI Chat, Mcp Client Tool +12
AI & RAG

Job Application PredictLeads & ScrapeGraph AI. Uses chatTrigger, lmChatOpenAi, mcpClientTool, memoryBufferWindow. Chat trigger; 32 nodes.

Chat Trigger, OpenAI Chat, Mcp Client Tool +12
AI & RAG

This n8n template demonstrates how to build an AI-powered Market Research Assistant using a multi-agent workflow. It helps you get a 360-degree view of a product idea or research topic by analysing: C

Chat Trigger, Memory Buffer Window, Agent +5
AI & RAG

ModelRouter. Uses chatTrigger, agent, modelSelector, httpRequest. Chat trigger; 28 nodes.

Chat Trigger, Agent, Model Selector +8
AI & RAG

Revolutionize your client interactions with this Done‑For‑You AI Customer Service & Lead Routing System. This advanced n8n workflow, powered by Google Gemini and integrated with Notion, is pre-configu

Chat Trigger, Google Gemini Chat, Output Parser Structured +3