Send Salesforce contacts with no activity to Teams

CRMMarketing

What it does

When someone runs the contacts_no_activity command in Teams, this automation searches Salesforce for all contacts with no activity. It posts the contact details back to the conversation so the team can see who needs outreach.

Who it's for

Sales teams who need to identify inactive contacts in Salesforce from Teams without switching apps.

How teams use this

Identify contacts needing outreach

Run the command to see all contacts with no activity in one view, then assign follow-up tasks directly from the Teams thread. The team stays in one place to triage the list.

Monitor inactive contacts by region

Invite the bot to a regional sales channel so teams can check their own inactive contacts without viewing the whole company list. Only the channel scope changes.

Filter contacts by inactivity duration

Extend the command to include a date range so someone can find contacts inactive for a specific period or more, not just those with zero activity. Add a date parameter to narrow the results.

How it works

  1. Run the contacts command. Type the contacts_no_activity command in a Teams channel or direct message to find contacts with no recent activity.
  2. Find contacts with no activity. Search Salesforce for all contacts where the Last Activity field is not present, which identifies those with no recorded engagement.
  3. Post the contact list. Reply in Teams with the full contact details so the channel sees all inactive contacts and can plan outreach.