Browse the docs

Agent setup guide

Dynamics 365 Closed-Won Handoff

When a deal is won in Dynamics 365, a handoff brief goes to your delivery team's Slack channel and is noted on the opportunity.

Coming soon — waiting for Microsoft Dynamics 365 approval About 8 min to set up

What it does

When a deal is won in Dynamics 365, a handoff brief goes to your delivery team's Slack channel and is noted on the opportunity.

  • Starts when an opportunity is closed as won in Dynamics 365 Sales.
  • AI writes a short handoff brief from the opportunity's own fields: what was sold, value and dates as given, and questions to clarify.
  • Posts it to your delivery team's Slack channel.
  • Adds the brief as a note on the opportunity.

What it needs

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

What it doesn't do

  • It doesn't read emails, call notes or attachments: the brief is only as good as the opportunity's description.
  • It doesn't create projects, tasks or invoices.

Availability and plans

Coming soon — waiting for Microsoft Dynamics 365 approval

The agent is built, but Microsoft Dynamics 365 is still waiting for the vendor's approval. It becomes available on its own once that app is live; until then it can't be bought or set up.

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: Microsoft Dynamics 365 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 Microsoft Dynamics 365

Connect Microsoft Dynamics 365 (Settings → Integrations): enter your Dynamics address (yourcompany.crm.dynamics.com) and sign in with your work account.

3. Connect Slack

Connect the Slack workspace your delivery team uses (Settings → Integrations → Slack).

4. Pick the Dynamics 365 connection

Open the trigger and “Note the handoff” and pick your Dynamics 365 connection.

SettingWhat to enterIn step
Dynamics 365 connectionThe Dynamics 365 environment whose won deals are handed off. Pick your connected Microsoft Dynamics 365 account.“Opportunity won”
Dynamics 365 connection (same one)The same Dynamics 365 connection. Pick your connected Microsoft Dynamics 365 account.“Note the handoff”

5. Describe the handoff

Open “Write the handoff brief” and replace the placeholder.

SettingWhat to enterIn step
Who takes overReplace the placeholder with what you sell, who takes over after a win and what they need to know to start. It starts as “[WHAT YOU SELL, WHO TAKES OVER AFTER A WIN (ONBOARDING, DELIVERY, ACCOUNT MANAGEMENT) AND WHAT THEY NEED TO KNOW TO START]” until you replace it.“Write the handoff brief”

6. Pick the Slack channel

Open “Post the handoff” and pick the account and channel.

SettingWhat to enterIn step
Slack accountThe Slack workspace the handoff is posted to. Pick your connected Slack account.“Post the handoff”
Delivery channelThe channel of the team that takes over. Invite the app to private channels first (/invite @Fluxo Flow).“Post the handoff”

7. Test it with Dry Run

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

8. Switch the trigger on

Open the trigger and click “Activate app trigger”: won opportunities are checked on the workflow's schedule.

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.

  • Opportunity won — Starts on “Opportunity won” in Microsoft Dynamics 365 (an app event). Starts a run when an opportunity is closed as won in Dynamics 365.
  • Write the handoff brief — AI step (runs on your AI provider key). AI writes a short handoff for the team that takes over, from the opportunity's own fields: what was sold, for whom, when, and what to clarify first.
  • Post the handoff — Slack: Post a message. Posts the brief to your delivery team's Slack channel.
  • Note the handoff — Microsoft Dynamics 365: Add a note. Adds the brief as a note on the won opportunity in Dynamics 365.
  • Handed off — Kept in the run history. The run history keeps every brief.

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

id, name, estimated_value, estimated_close_date, actual_close_date, probability, pipeline_phase, status, status_reason, customer_id, owner_id, modified_on, record.description.

  • 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”: won opportunities are checked on the workflow's schedule.
  • 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

Where does the brief come from?

From the won opportunity's own fields in Dynamics 365 (name, value, dates, phase and description). It doesn't read emails or call notes, so a detailed description makes a better brief.

Does it create projects or tasks?

No. It posts the brief to Slack and adds it as a note on the opportunity.

Can I send it to more than one channel?

One channel per workflow. Duplicate the workflow for another team.

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 .