Skip to content
Notis

Fetch heartbeat details when a job reports failure

Make a failed check understandable before someone starts chasing logs.

Trigger

Webhook received

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

Action

Get Heartbeat

Tool to get a single heartbeat by id. use when you need to fetch details of a specific heartbeat.

Why this helps

A failure notification rarely explains which heartbeat configuration and service it belongs to.

  • Add configuration context to failure reports
  • Reduce guesswork during diagnosis
  • Give responders a repeatable starting point

Setup

Build it in a few focused steps.

  • 1Connect 0CodeKit and Better Stack in Notis once.
  • 2Create an automation named Heartbeat failure context.
  • 3Tell Notis to use the webhook context to retrieve the matching heartbeat and summarize its configuration and status.
  • 4Choose the webhook trigger and report channel.
  • 5Test with one real job failure payload.

Questions about this workflow

What identifier should the webhook provide?

Provide the Better Stack heartbeat id or another unambiguous heartbeat reference.

Can it repair the heartbeat automatically?

No. It retrieves context so you can decide the next action.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link 0CodeKit to Better stack. A trigger fires from one place; an action lands in another.

0CodeKit triggers

Better stack actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Create Escalation Policy

Tool to create a new escalation policy. use when defining how incidents should escalate across team members.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create Heartbeat Group

Tool to create a new heartbeat group. use when you need to organize related heartbeat checks under a single, logical group. example prompt: "create a new heartbeat group named 'backend services'."

ActionInstant

Create Outgoing Webhook Integration

Tool to create a new outgoing webhook integration. use when you need to register an endpoint to receive event notifications from better stack.

ActionInstant

Create Source Group

Tool to create a new source group. use when you have finalized the group name (and optional sort index) and need to organize related log sources under that group.

ActionInstant

Delete Escalation Policy

Tool to delete an escalation policy by id. use when you need to permanently remove an existing escalation policy after confirming its id.

ActionInstant

Delete Source Group

Tool to delete a source group by id. use when you need to permanently remove an existing source group after confirming it is no longer needed.

ActionInstant

Get Heartbeat

Tool to get a single heartbeat by id. use when you need to fetch details of a specific heartbeat.

ActionInstant

Get Heartbeat Availability

Tool to retrieve availability summary for a specific heartbeat. use when you need availability metrics for a heartbeat within an optional date range.

ActionInstant

Connect any two apps with Notis in the middle.

0CodeKit and Better stack, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Better stack.