Browse the docs

Agent setup guide

ServiceNow P1 Incident Alert

The moment a priority 1 incident is opened in ServiceNow, your Slack channel gets an alert with the incident number and what is broken.

Available About 6 min to set up

What it does

The moment a priority 1 incident is opened in ServiceNow, your Slack channel gets an alert with the incident number and what is broken.

  • Checks ServiceNow every few minutes for new priority 1 incidents (or your own filter).
  • AI writes a two-line alert from the incident's own words, without guessing the cause.
  • Posts it to Slack with the incident number.

What it needs

  • A paid plan (agents run live on paid plans).
  • An AI provider key (Settings → AI Providers).
  • ServiceNow and Slack, connected in Settings → Integrations.

What it doesn't do

  • It doesn't page or call anyone.
  • Incidents raised to P1 after they were opened aren't alerted (it watches new incidents).
  • It never changes the incident.

Availability and plans

Available

Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.

Included free on the Enterprise plan; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.

Before you start

  • A paid plan: agents run live, and the Free plan only runs Dry Runs.
  • An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
  • These apps, connected in Settings → Integrations: ServiceNow and Slack.
  • The app it watches, connected in Settings → Integrations (the agent starts from an app event).
  • About 6 minutes.

Set it up step by step

Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.

1. Connect your AI provider

The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.

2. Connect ServiceNow

Connect ServiceNow with an integration user (or a REST API key) that has the itil role (Settings → Integrations → ServiceNow).

3. Connect Slack

Connect the Slack workspace (Settings → Integrations → Slack).

4. Pick the ServiceNow account

Open the trigger, pick your ServiceNow connection and check the filter.

SettingWhat to enterIn step
ServiceNow accountYour ServiceNow connection. Pick your connected ServiceNow account.“New P1 incident”

5. Pick the Slack channel

Open “Alert the channel” and pick the workspace and channel.

SettingWhat to enterIn step
Slack accountThe Slack workspace for the alerts. Pick your connected Slack account.“Alert the channel”
Slack channelWhere P1 alerts go, e.g. #incidents.“Alert the channel”

6. Test it with Dry Run

Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.

7. Switch the trigger on

Open the trigger and click “Activate app trigger”: new incidents are checked every few minutes.

How it works

The agent is a normal workflow with 4 steps (1 AI step). You can open, edit and monitor it like any other workflow.

  • New P1 incident — Starts on “New incident” in ServiceNow (an app event). Starts a run for each new incident with priority 1 (filter priority=1; checked every few minutes).
  • Write the alert — AI step (runs on your AI provider key). AI writes a two-line alert from the incident's short description and description, copying the number exactly.
  • Alert the channel — Slack: Post a message. Posts the alert with the incident number to your Slack channel.
  • Alert posted — Kept in the run history. The run history keeps every alert.

Test it with Dry Run

Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live. The sample has the same shape as a real event from the app.

Sample data fields

record.sys_id, record.number, record.short_description, record.description, record.priority, sys_id, number, short_description, priority, state, sys_created_on, sys_updated_on.

  • Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.

Go live

  • Open the trigger and click “Activate app trigger”: new incidents are checked every few minutes.
  • Activating the app trigger needs the trigger's connected account. The first check only remembers what's already there, so older items don't start runs; the same item never starts two runs.
  • The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
  • When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.

Questions

How quickly does it alert?

Within a few minutes: new incidents are checked on your plan's schedule (every minute on plans that allow it).

Can I alert on other incidents?

Yes. Change the trigger's filter, e.g. priority<=2^assignment_group=<sys_id>, using a ServiceNow encoded query.

Does it page anyone?

No. It posts to Slack; use Slack's own notifications or your paging tool for on-call escalation.

Troubleshooting

  • “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
  • A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
  • An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
  • Slack says the app isn't in the channel: in Slack, type /invite @Fluxo Flow in that channel (always needed for private channels).
  • No runs start: activate the app trigger with a connected account. Only items created after activation start runs.
  • A step failed: open the run in History and check that step in the Trace tab for the error and what it received.

Generated from the agent's own workflow, so it always matches what the agent does. Last updated .