Browse the docs

Agent setup guide

NetSuite New Sales Order Alert

Each new sales order in NetSuite is announced in Slack with the customer, total and status as NetSuite has them.

Available About 8 min to set up

What it does

Each new sales order in NetSuite is announced in Slack with the customer, total and status as NetSuite has them.

  • Checks NetSuite every few minutes and starts for each new sales order.
  • Reads the order and has AI write one line with the number, customer, total and status, copied exactly.
  • Posts it to your Slack channel.

What it needs

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

What it doesn't do

  • It doesn't change orders or fulfil them.
  • Orders already in NetSuite when you activate it are skipped.
  • Line items aren't listed one by one.

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: NetSuite and Slack.
  • The app it watches, connected in Settings → Integrations (the agent starts from an app event).
  • About 8 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 NetSuite

Connect NetSuite with token-based authentication: account ID, the integration record's consumer key / secret and an access token (Settings → Integrations → NetSuite lists the features and role permissions to turn on).

3. Connect Slack

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

4. Pick the NetSuite account

Open the trigger and “Read the sales order” and pick your NetSuite connection.

SettingWhat to enterIn step
NetSuite accountYour NetSuite connection. Pick your connected NetSuite account.“New NetSuite sales order”
NetSuite account (same one)The same NetSuite connection. Pick your connected NetSuite account.“Read the sales order”

5. Pick the Slack channel

Open “Post to Slack” and pick the workspace and channel.

SettingWhat to enterIn step
Slack accountThe Slack workspace for the alerts. Pick your connected Slack account.“Post to Slack”
Slack channelWhere new orders go, e.g. #sales.“Post to Slack”

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 sales orders are checked every few minutes.

How it works

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

  • New NetSuite sales order — Starts on “New record” in NetSuite (an app event). Starts a run for each new sales order in NetSuite (checked every few minutes).
  • Read the sales order — NetSuite: Get a record. Reads the order's fields from NetSuite (customer, total, status, memo).
  • Write the announcement — AI step (runs on your AI provider key). AI writes one short line for the team about the order, copying the customer, total and status exactly as NetSuite gives them.
  • Post to Slack — Slack: Post a message. Posts the announcement with the order number to your Slack channel.
  • Posted — Kept in the run history. The run history keeps every order and message.

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_id, record.id, record.tranid, record.entity, record.trandate, record.type, record_kind.

  • 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 sales orders 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 post?

Within a few minutes: the trigger checks the newest sales orders on your plan's schedule. NetSuite can show a just-saved order on the next check.

Which permissions does it need?

The token's role needs view access to sales orders (and customers for their names), plus Log in using Access Tokens and REST Web Services.

Does it change the order?

No. It only reads NetSuite and posts to Slack.

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 .