See llms.txt for all machine-readable content.

Google Calendar and NASA integration

Save yourself the work of writing custom integrations for Google Calendar and NASA and use n8n instead. Build adaptable and scalable Productivity, workflows that work with your technology stack. All within a building experience you will love.

How to connect Google Calendar and NASA

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Google Calendar and NASA integration: Create a new workflow and add the first step

Automated asteroid alerts with NASA API, Slack & Google Calendar

This n8n template creates an automated alert system that checks NASA's data for near-Earth asteroids twice a day. When it finds asteroids meeting specific criteria, it sends a summary alert to Slack and creates individual events in Google Calendar for each object. Use cases Automated Monitoring: Keep track of potentially hazardous asteroids without manually checking websites. Team or Community Alerts: Automatically inform a team, a group of friends, or a community about significant celestial events via Slack. Personalized Space Calendar: Populate your Google Calendar with upcoming asteroid close approaches, creating a personal "what's up in space" agenda. Educational Tool: Use this as a foundation to learn about API data fetching, data processing, and multi-channel notifications in n8n. Good to know This workflow runs on a schedule (every 12 hours by default) and does not require a manual trigger. NASA API Key is highly recommended. The default DEMO_KEY has strict rate limits. Get a free key from api.nasa.gov. The filtering logic for what constitutes an "alert-worthy" asteroid (distance and size) is fully customizable within the "Filter and Process Asteroids" Code node. How it works A Schedule Trigger starts the workflow every 12 hours. The "Calculate Date Range" Code node generates the start and end dates for the API query (today to 14 days from now). The NASA node uses these dates to query the Near Earth Object Web Service (NeoWs) API, retrieving a list of all asteroids that will pass by Earth in that period. The "Filter and Process Asteroids" Code node iterates through the list. It filters out objects that are too small or too far away, based on thresholds defined in the code. It then formats and sorts the remaining "interesting" asteroids by their closest approach distance. An If node checks if any asteroids were found after filtering. If true (asteroids were found), the flow continues to the alert steps. If false, the workflow ends quietly via a NoOp node. The "Format Alert Messages" Code node compiles a single, well-formatted summary message for Slack and prepares the data for other notifications. The workflow then splits into two parallel branches: Slack Alert: The Slack node sends the summary message to a specified channel. Calendar Events: The Split Out node separates the data so that each asteroid is processed individually. For each asteroid, the Google Calendar node creates an all-day event on its close-approach date. How to use Configure the NASA Node: Open the "Get an asteroid neo feed" (NASA) node. Create new credentials and replace the default DEMO_KEY with your own NASA API key. Customize Filtering (Optional): Open the "Filter and Process Asteroids" Code node. Adjust the MAX_DISTANCE_KM and MIN_DIAMETER_METERS variables to make the alerts more or less sensitive. // Example: For closer, larger objects const MAX_DISTANCE_KM = 7500000; // 7.5 million km (approx. 19.5 lunar distances) const MIN_DIAMETER_METERS = 100; // 100 meters Configure Slack Alerts: Open the "Send Slack Alert" node. Add your Slack OAuth2 credentials. Select the channel where you want to receive alerts (e.g., #asteroid-watch). Configure Google Calendar Events: Open the "Create an event" (Google Calendar) node. Add your Google Calendar OAuth2 credentials. Select the calendar where events should be created. Activate the workflow. Requirements A free NASA API Key. Slack credentials (OAuth2) and a workspace to post alerts. Google Calendar credentials (OAuth2) to create events. Customising this workflow Add More Notification Channels: Add nodes for Discord, Telegram, or email to send alerts to other platforms. Create a Dashboard: Instead of just sending alerts, use the processed data to populate a database (like Baserow or Postgres) to power a simple dashboard. Different Data Source: Modify the HTTP Request node to pull data from other space-related APIs, like a feed of upcoming rocket launches.

Popular ways to use the Google Calendar and NASA integration

Build your own Google Calendar and NASA integration

Create custom Google Calendar and NASA workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Google Calendar supported actions

NASA supported actions

Google Calendar and NASA integration details

Google Calendar

Google Calendar

Google Calendar is a time-management and calendar service created by Google Workspace. It helps you schedule and organize events and meetings, send notifications, and synchronize with your team. It is widely used by both individuals and organizations.

NASA

NASA

NASA is an agency of the U.S. federal government. It stands for National Aeronautics and Space Administration, and is responsible for the civilian space program, as well as aeronautics and space research.

FAQ about Google Calendar integrations

Need help setting up your Google Calendar and NASA integration?

Discover our latest community's recommendations and join the discussions about Google Calendar and NASA integration.

  • jake chard

    Google Calendar free/busy times output is confusing the AI sometimes

    jake chard

    Hi all! I’m currently using this workflow to suggest 2 available times in a google calendar. Currently I am just using the straight output from calendar node in the AI response, it gives the AI busy times. (Here are t…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Google Calendar with NASA

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window