YAML10 downloads

Trial Inactive → Slack Alert (YAML Playbook)

Automated workflow triggered when trial user shows no activity for 3+ days. Includes engagement check, rescue email sequence, and SDR alert via Slack. Optimized for trial activation.

YAML Playbook

Ready to import directly as an automation workflow

# Trial Inactive to Slack Alert Workflow
name: "Trial Inactive Alert"
version: "1.0"
description: "Automatically notify sales team when a trial user becomes inactive"

trigger:
  type: "status_change"
  source: "trial_activity"
  conditions:
    - field: "last_active_days"
      operator: "greater_than"
      value: 7
    - field: "trial_status"
      operator: "equals"
      value: "active"

filters:
  - field: "account_value"
    operator: "greater_than"
    value: 1000
  - field: "engagement_score"
    operator: "less_than"
    value: 30

actions:
  - type: "send_notification"
    channel: "slack"
    config:
      channel_id: "#sales-alerts"
      message_template: |
        :warning: *Trial Inactive Alert*

        *Account:* {{account_name}}
        *Last Active:* {{last_active_days}} days ago
        *Trial Days Remaining:* {{trial_days_remaining}}
        *Engagement Score:* {{engagement_score}}/100

        *Recommended Action:* Schedule a check-in call
      mention: "@sales-rep"

  - type: "create_task"
    config:
      title: "Follow up with inactive trial: {{account_name}}"
      assignee: "account_owner"
      due_in: "24h"
      priority: "high"
      description: |
        Trial user has been inactive for {{last_active_days}} days.

        Key metrics:
        - Engagement score: {{engagement_score}}
        - Features used: {{features_used_count}}
        - Last login: {{last_login_date}}

  - type: "update_crm"
    config:
      object: "contact"
      field: "lifecycle_stage"
      value: "at_risk"

settings:
  retry_on_failure: true
  max_retries: 3
  retry_delay: "5m"
  notification_on_complete: true
  notification_on_failure: true
  execution_window:
    start: "09:00"
    end: "18:00"
    timezone: "America/New_York"
    weekdays_only: true

💡 Workflow Diagram

When imported into Optifai, this YAML automatically generates a visual workflow diagram. You can see each step, branching logic, and timing at a glance.

💡 Usage Tip

Paste the copied YAML into a text editor, save as .yaml format, then import into your workflow automation tool.

Usage Tips

  • 1Copy entire YAML and import directly into Optifai playbooks
  • 2Adjust wait times based on your sales cycle
  • 3Test playbook with 5-10 leads before full rollout
  • 4Monitor SLA metrics and tune thresholds

Example Use Cases

Scenario

A growing company implementing new software across 3 departments.

Result

Timeline: 30-day pilot, 60-day rollout, 90-day optimization.

Scenario

A team lead driving adoption with skeptical team members.

Result

Approach: quick wins first, then advanced features over 6 weeks.

Who It's For

👤 All RevOps

Pain Points:

  • Inconsistent follow-up from team members
  • Difficulty measuring ROI of sales activities
  • Reps spending too much time on manual tasks
  • Pipeline visibility and forecasting challenges
  • Slow response times to inbound leads

Goals:

  • Ensure 100% follow-up compliance
  • Prove ROI of sales initiatives
  • Free up 10+ hours/week per rep
  • Improve forecast accuracy to 90%+
  • Achieve <5 minute lead response time

How to Use

  1. 1

    Review the workflow

    Understand trigger conditions and action sequences.

  2. 2

    Customize parameters

    Adjust timing, filters, and message content.

  3. 3

    Test with sample data

    Run the playbook with test contacts first.

  4. 4

    Monitor execution

    Review logs to ensure actions execute correctly.

  5. 5

    Optimize performance

    Adjust based on conversion and engagement metrics.

Related Resources

Frequently Asked Questions

Click "Copy Template" to add it to your Optifai workspace. Then customize the trigger conditions, email content, and actions to match your specific use case and brand voice.
Yes, all templates are fully customizable. You can change triggers, conditions, email content, actions, and timing. Your modifications won't affect the original template.
This template works with major CRMs (Salesforce, HubSpot), email providers (Gmail, Outlook), and communication tools (Slack, Teams). Check the requirements section for specific integrations.
Optifai automatically tracks actions through to revenue outcomes. The ROI Ledger shows which automated actions led to meetings, opportunities, and closed deals, with holdout-measured attribution.

Have more questions? Feel free to contact us.

Automate Your Sales with Optifai

Use this template in Optifai for fully automated trigger detection → email sending → performance tracking.