AutomationFlowsGeneral › Nasa Example

Nasa Example

NASA Example. Uses nasa, postBin. Scheduled trigger; 6 nodes.

Cron / scheduled trigger★★☆☆☆ complexity6 nodesNasaPost Bin
General Trigger: Cron / scheduled Nodes: 6 Complexity: ★★☆☆☆ Added:

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
{
  "active": true,
  "connections": {
    "Schedule trigger": {
      "main": [
        [
          {
            "index": 0,
            "node": "nasa",
            "type": "main"
          }
        ]
      ]
    },
    "if": {
      "main": [
        [
          {
            "index": 0,
            "node": "PostBin(true)",
            "type": "main"
          }
        ],
        [
          {
            "index": 0,
            "node": "PostBin(false)",
            "type": "main"
          }
        ]
      ]
    },
    "nasa": {
      "main": [
        [
          {
            "index": 0,
            "node": "if",
            "type": "main"
          }
        ]
      ]
    }
  },
  "id": "K8yurfQ_ddCou",
  "name": "NASA Example",
  "nodes": [
    {
      "id": "if",
      "name": "if",
      "parameters": {
        "conditions": {
          "combinator": "and",
          "conditions": [
            {
              "id": "my-workflow/if/0",
              "leftValue": "={{ $json.classType }}",
              "operator": {
                "operation": "contains",
                "singleValue": false,
                "type": "string"
              },
              "rightValue": "C"
            }
          ],
          "options": {
            "caseSensitive": false,
            "typeValidation": "strict",
            "version": 2
          }
        }
      },
      "position": [
        940,
        300
      ],
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.3
    },
    {
      "credentials": {
        "nasaApi": {
          "name": "<your credential>"
        }
      },
      "id": "nasa",
      "name": "nasa",
      "parameters": {
        "additionalFields": {
          "startDate": "={{ $today.minus(1, 'day') }}"
        },
        "resource": "donkiSolarFlare"
      },
      "position": [
        740,
        300
      ],
      "type": "n8n-nodes-base.nasa",
      "typeVersion": 1
    },
    {
      "id": "note",
      "name": "note",
      "parameters": {
        "content": "## Setup required\n\nYou need to create a NASA account and create credentials, and create a bin with Postbin and enter the ID - see [the documentation](https://docs.n8n.io/try-it-out/longer-introduction/)",
        "height": 120,
        "width": 600
      },
      "position": [
        0,
        0
      ],
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1
    },
    {
      "id": "PostBin(false)",
      "name": "PostBin(false)",
      "parameters": {
        "binContent": "=There was a solar flare of class {{ $json.classType }}",
        "binId": "1741914338605-0907339996192",
        "operation": "send",
        "resource": "request"
      },
      "position": [
        1140,
        420
      ],
      "type": "n8n-nodes-base.postBin",
      "typeVersion": 1
    },
    {
      "id": "PostBin(true)",
      "name": "PostBin(true)",
      "parameters": {
        "binContent": "=There was a solar flare of class {{ $json.classType }}",
        "binId": "1741914338605-0907339996192",
        "operation": "send",
        "resource": "request"
      },
      "position": [
        1140,
        180
      ],
      "type": "n8n-nodes-base.postBin",
      "typeVersion": 1
    },
    {
      "id": "schedule-trigger",
      "name": "Schedule trigger",
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "triggerAtDay": [
                1
              ],
              "triggerAtHour": 9,
              "weeksInterval": 1
            }
          ]
        }
      },
      "position": [
        300,
        300
      ],
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.3
    }
  ],
  "settings": {},
  "tags": [
    {
      "name": "@vahor/n8n-K8yurfQ_ddCou"
    }
  ]
}

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

NASA Example. Uses nasa, postBin. Scheduled trigger; 6 nodes.

Source: https://github.com/Vahor/n8n-kit/blob/7086e05e4455ffc71eb22a0d7cedd6ae6283103d/examples/nasa/n8n-kit/workflows/my-workflow.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

Politician Research Pipeline. Uses httpRequest, emailSend. Scheduled trigger; 9 nodes.

HTTP Request, Email Send
General

Expected. Uses nasa, postBin. Scheduled trigger; 6 nodes.

Nasa, Post Bin
General

API Health Check. Uses httpRequest, emailSend. Scheduled trigger; 5 nodes.

HTTP Request, Email Send
General

backup. Uses n8n. Scheduled trigger; 4 nodes.

n8n
General

Sync Asana task due dates to Google Calendar. Uses asana, googleCalendar. Scheduled trigger; 17 nodes.

Asana, Google Calendar