Skip to main content

How Smart Message works

Smart Message lets an agent choose communication paths using a unified message tool. It can work across configured contact methods and use runtime context to decide the right delivery behavior. Rather than requiring separate email and Slack tools, Smart Message consolidates outreach into a single step where the agent selects the optimal channel based on available contact information, urgency, and your configured strategy.

Configuration

Inputs

string
Guidance for when this tool should run and how the agent should compose or route the message.
string
required
The target user to contact.
string
required
The internal sender identity used for message context.
string[]
Communication channels this tool can use.
enum
How Flywheel should choose among available contacts for enabled methods.

Outputs

enum
required
Final result for send routing and delivery (e.g. sent, failed, skipped).
string
required
Channel chosen for the message attempt (e.g. email, slack).
string
User ID the message was delivered to.
string
Sender identity used for the message.
string
Unique identifier for the sent message when delivery succeeds.
boolean
Whether a fallback channel was used when the preferred channel was unavailable.

Use Cases

Channel-Aware Urgent Outreach
Email Fallback Routing
Lifecycle Event Follow-Up
Multi-Touch Engagement

Best Practices

Channel Policy
  • Define allowed methods explicitly so routing remains predictable and auditable.
  • Reserve Smart Message for scenarios where channel flexibility is genuinely helpful — use dedicated email or Slack tools when the channel is always the same.
  • Test fallback behavior to confirm messages still deliver when the primary channel is missing contact data.
Sender Context
  • Ensure sender identities are valid and intentional for the outreach type.
  • Match the sender to the user’s assigned CSM or account owner for personal-feeling messages.
  • Avoid generic sender identities for high-touch outreach where relationship context matters.
Message Quality
  • Use the agent prompt to guide tone and length based on the delivery channel — Slack messages should be concise, emails can be more detailed.
  • Pair Smart Message with Find Event or Set Custom Property to ground the message in real user activity.
  • Monitor message_status and fallback_used outputs to identify users with incomplete contact data.