Get Event

demio.get_event
ActionChat & messagingconnection required

Calls the Demio API with the connection's credentials.

Retrieve one event, including the sessions scheduled for it.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Demio
Secret shape
{"api_key": "…", "api_secret": "…"}
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
event_id
The Demio event to act on; demio.list_events returns it as 'id'.
stringYes——86
active_only
Return only the sessions of a series that are still active.
booleanNofalse——

Example configuration

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

{
  "active_only": false,
  "event_id": "86"
}

Output

One shape.

result

FieldTypeExample
id
The event id.
number—
name
The event name as it appears in Demio.
string—
status
The event's current status, as Demio reports it.
string—
type
Whether the event is a standard, automated or series event.
string—
dates
The event's sessions; each carries its own date_id.
array—
dates[].date_id
The session id used by the session and report nodes.
number—
dates[].datetime
When that session runs.
string—
{
  "dates": [
    {
      "date_id": 0,
      "datetime": ""
    }
  ],
  "id": 0,
  "name": "",
  "status": "",
  "type": ""
}

See Get Event run in a workflow.

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