Skip to content
sprkly
Start free

Telegram message when a sprkly post fails

When a post fails you get a Telegram message with the reason and a link, and every Monday a count of the week by account and reason. Nothing is sent again.

  • 17 steps
  • 10 min to set up
  • Free JSON file
Run daily operationsPosts with sprkly

Apps it uses

  • Telegram

It starts on: sprkly event, schedule

If something fails

A failure alert is built in. If a step fails, you get one Telegram message with the workflow name, the step and the reason. Want Slack or email instead? Swap the last step of the alert.

What it checks and does

  1. Check the post

    Only a failed post with an ID goes on.

  2. Monday roll-up

    Every Monday: the posts that failed in the last 7 days, by account and by reason.

  3. Send the alert

    The message has the account, the time, the reason and a link.

See the flow

Each box is one step. Read left to right, then down. Boxes stacked together run side by side.

    • When a post fails
    • Every Monday
    • Settings
    • Monday roll-up?
    • Is it a whole failed post?
    • Get failed posts
    • Get account names
    • Get account names for the roll-up
    • Wait for both
    • Write the roll-up
    • Pick the details
    • Send the roll-up
    • Write the message
    • Send to Telegram

If a step fails

  1. When this workflow fails
  2. Write the failure alert
  3. Send the failure alert
Starts the runsprkly stepStepFailure alert

Set it up

  1. Add your sprkly key to the 4 sprkly steps.

  2. Add your bot to the 2 Telegram steps. Put your chat ID in Settings.

  3. In Settings, set your time zone, like Europe/London.

  4. Failure alert: put your chat ID in Write the failure alert and your bot in Send the failure alert. Then in Workflow settings, set Error workflow to this workflow.

Test it

  • Turn the workflow on. The next post that fails sends a message. Posts that failed before are not sent.
  • Click Test workflow with Every Monday picked to see the roll-up.

What you need

  • The sprkly node: Settings, Community nodes, install n8n-nodes-sprkly (self-hosted n8n)
  • A sprkly API key
  • A Telegram bot and your chat ID

Get every workflow in one pack

Enter your email and the downloads open right here. Pick one zip for your group, or all 44 at once.

We keep your email as our privacy policy says.

Ready to post from n8n?

Make a free sprkly account and copy your API key. Your first workflow can post today.

Get your API key