HTTP Poll

Check a JSON API on a timer and start a run for each new item.

Built inSource

How it fits in a workflow

HTTP Poll (trigger.http_poll) is a built-in triggers step included with every zerodot server—no package install required. Place it at the start of a workflow to begin a run.

Options

  • urlstring · required

    Starts as "https://"

  • intervalSecondsinteger

    Starts as 300

  • itemsPathstring

    Where the list is in the response, for example data.items. Empty: the response is the list.

  • keyPathstring · required

    Where the unique id is inside an item, for example id. A key that was seen starts no run.

    Starts as "id"

  • newestFirstboolean

    Most APIs list the newest item first. Turn off when the oldest comes first.

    Starts as true

  • maxItemsinteger

    Only the newest items of the list are read.

    Starts as 100

Logins it can use

This node can use these saved logins. zerodot keeps each one encrypted. See the credentials guide.

http.basichttp.bearerhttp.headeroauth2.generic

Guides and related hubs