Mohamed Imran

🚀 5-Part Enterprise Automation Series

Role: Sr.salesforce Admin/Consultant & Architect | Stack: Advanced Flow, Custom Metadata, Tableau, External Services

Overview

This series demonstrates 5 real-world solutions to complex enterprise problems, utilizing 100% declarative tools (No-Code). Each episode focuses on scalable architecture, separating business logic (Custom Metadata) from automation (Flow) to ensure maintainability.


📺 Episode 1: Smart Discount Guardrails (CPQ)

Cover Image

The Business Problem

Sales teams were pushing high discounts to close deals without justification, eroding margins. Leadership needed a clear “approval story,” but the logic lived in people’s heads, leading to inconsistent enforcement.

The Solution

I built a lightweight guardrail on the Quote object using a Before-Save Flow (Fast Field Updates).

🎥 Watch the Video Demo

1. Data Model & Governance

Custom Metadata stores the policy (Rule Separation), while the Quote object holds the validation field. Discount Reason Field Custom Metadata Type Threshold Field

2. Flow Architecture

The “Fast Field Update” Flow fetches the policy and validates input before the database commit. Full Flow Canvas Start Element Get Active Policy Decision Logic Custom Error Configuration

3. User Experience

The result: A clean, inline error message that guides the user to fix the data. Error Message in Action Additional Config Additional Config


📺 Episode 2: Smart Case Escalation (Scheduled Paths)

Cover Image

The Business Problem

High-priority cases were missing SLAs because escalation relied on manual tracking. There was no consistent way to route overdue cases to the right queue at the right time.

The Solution

🎥 Watch the Video Demo

Logic & Configuration

The Flow manages both immediate updates and scheduled escalation checks. Flow Canvas Custom Metadata Policy Queue Configuration


📺 Episode 3: Customer Health Signal Hub (Event-Driven)

Cover Image

The Business Problem

Customer health data (usage, billing, NPS) lived in external systems. Sales reps were “blind” to churn risks until it was too late.

The Solution

I architected an Event-Driven architecture using Platform Events:

🎥 Watch the Video Demo

Architecture & Automation

Handling high-volume events and automating the response. Platform Event Definition Subscriber Flow Screen Flow Publisher

The User Experience

Sales reps see real-time history and get immediate tasks for risks. Send Signal Action Input Screen Health History Record Auto-Generated Task


📺 Episode 4: Fair Workload Engine (Tableau Integration)

Cover Image

The Business Problem

Support cases and urgent tasks were piling up on the same few high-performers, leading to burnout. Managers lacked data to prove overload.

The Solution

🎥 Watch the Video Demo

Analytics & Logic

Calculating the score and visualizing the risk. Tableau Heatmap Calculation Flow Risk Assignment Logic Routing Logic


📺 Episode 5: Real-Time Credit Risk Engine (No-Code Integration)

Cover Image

The Business Problem

Sales reps were negotiating deals with clients who had poor credit, leading to rejected contracts. The credit check process was manual and slow (email-based).

The Solution

I built a No-Code Integration using External Services:

🎥 Watch the Video Demo

Integration Architecture

Connecting Salesforce to the Banking API securely. External Services Setup Named Credentials Permission Sets Mocking Rules

Flow Automation

Handling the API call asynchronously to prevent timeouts. Async Path Flow Data Cleanup Flow

Final Result

Real-time credit data appears instantly on the Opportunity. Opportunity View Details Panel


Return to Home