CRM
Outlook thread sentiment to Salesforce account health field sync
On a daily schedule, scores recent Outlook conversations per Salesforce account, rolls them into a health score.
How it runs
The automated pipeline, trigger to output.
- TriggerDaily schedule fires
- ActionQuery active accounts and contacts in SalesforceSalesforce
- ActionPull recent contact emails from OutlookOutlook
- ActionScore messages with Hugging FaceHugging Face
- LogicAggregate to health tier; detect downward change
- OutputWrite health field and log task in SalesforceSalesforce
What it does
This workflow keeps a sentiment-derived relationship health score current on every Salesforce account. Each day it pulls the recent email exchanges with each account's contacts from Outlook, scores them with Hugging Face, aggregates them into a single health rating, and writes that rating onto the Salesforce account. When an account drops from one health tier to a lower one, it logs a Salesforce task for the owner so the decline shows up in their normal workflow rather than a separate dashboard.
When to use it
Use this when your team lives in Salesforce and you want relationship signal embedded in records and reports, not a side channel. It is ideal for CS and account managers who run pipeline and renewal reviews off Salesforce views.
How it works
A daily schedule kicks off the run. The flow queries Salesforce for active accounts and their contact emails, then pulls each contact's recent Outlook messages. It scores every message with Hugging Face and aggregates per account into a 0-100 health value mapped to tiers. It updates the account's health field in Salesforce, then compares the new tier to the prior one; on a downward tier change it creates a follow-up Salesforce task assigned to the account owner.
Set it up
What you configure once, before turning it on.
- 1Connect OutlookMail, calendar, contacts.
- 2Connect Hugging FaceModels, datasets, spaces — the open-source hub.
- 3Connect SalesforceAccounts, opportunities, cases.
- 4Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 5Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 6Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More CRM workflows
Dormant Account Check-In Call Scheduler
On the anniversary of an account's last touch, books a tentative check-in call on the owner's Google Calendar and emails the contact a scheduling invite.
Weekly Dormant-Anniversary Cohort Digest
Every week, groups dormant Attio accounts by which last-touch anniversary they hit that week, builds a prioritized digest.
AI-Personalized Dormant Account Win-Back
On a dormancy anniversary, an agent researches the account's history and recent public signals, drafts a genuinely personalized win-back email.
Backfill Intercom conversation topics onto stale HubSpot contacts
Finds HubSpot contacts with no recent Intercom topic, pulls their conversation history from Intercom, classifies the dominant topic with OpenAI.
Daily orphaned-opportunity sweep with manager Slack digest
Each morning this scans Salesforce for open opportunities owned by inactive users and posts a per-manager digest in Slack listing the orphaned deals that need a new owner.
Tag closed Intercom conversations onto Salesforce contacts in real time
On each Intercom conversation close, classifies the topic with OpenAI and appends it to the matching Salesforce contact's activity timeline so the topic never goes stale…
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
