Space Weather Notifications

nasa.donki_notifications
ActionBusiness appsconnection required

Calls the NASA API with the connection's credentials.

Read the Space Weather Research Center's notification messages.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
NASA
Secret shape
the API key, or {"api_key": "…"}
Config it needs
base_url, images_base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
notification_type
Which kind of notification to read; 'all' returns every kind and 'report' returns the written space-weather reports.
stringNoallone of "all", "FLR", "SEP", "CME", "IPS", "MPC", "GST", "RBE", "report"—
start_date
First day to read notifications from; NASA uses seven days ago when it is blank and never returns more than a 30-day window.
stringNo—matches ^\d{4}-\d{2}-\d{2}$2014-05-01
end_date
Last day to read notifications to; NASA uses today when it is blank.
stringNo—matches ^\d{4}-\d{2}-\d{2}$2014-05-08

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "end_date": "2014-05-08",
  "notification_type": "all",
  "start_date": "2014-05-01"
}

Output

One shape.

result

FieldTypeExample
notifications
The notification messages DONKI returned.
array—
notifications[].messageType
The kind of notification.
string—
notifications[].messageID
The notification's own id.
string—
notifications[].messageURL
Its page on the DONKI site.
string—
notifications[].messageIssueTime
When it was issued, in UT.
string—
notifications[].messageBody
The message text.
string—
count
How many notifications are in this response.
number—
type
The notification type that was asked for.
string—
{
  "count": 0,
  "notifications": [
    {
      "messageBody": "",
      "messageID": "",
      "messageIssueTime": "",
      "messageType": "",
      "messageURL": ""
    }
  ],
  "type": ""
}

See Space Weather Notifications run in a workflow.

In a technical demo we add the NASA connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.