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.

CategoryCRM
Enginesim
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

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 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.

  1. 1
    Connect OutlookMail, calendar, contacts.
  2. 2
    Connect Hugging FaceModels, datasets, spaces — the open-source hub.
  3. 3
    Connect SalesforceAccounts, opportunities, cases.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.