Pipedrive Activity Reminder to Teams and SMS
Each morning the flow reads each Pipedrive user's activities due today, sends them a personalized Teams summary, and texts a reminder via Twilio for high-priority calls/meetings. Overdue activities are flagged. Helps reps start the day knowing exactly who to contact without living in Pipedrive.
Provided as-is, without warranty of any kind. Review and test each pattern in a non-production environment before deploying it to live automations. See our Terms.
Overview
This flow gives Pipedrive reps a pushed daily action list. Every morning at 07:30 it reads all users' activities due today from Pipedrive, posts each rep a personalized Microsoft Teams agenda in a shared channel, and texts a Twilio SMS nudge whenever a rep has high-priority calls/meetings due. Reps start the day knowing exactly who to contact without opening Pipedrive.
The flow ships Off (demo). Going live requires only env-var values + connection authorization.
Use Case
A sales team wants each rep's due activities surfaced where they'll actually see them — Teams for the full list, SMS for the items that can't wait. The flow runs unattended each morning and fans out per rep.
Flow Architecture
Daily 07:30
Recurrence (Day/1 @ 07:30)Runs every morning to read activities due today.
Initialize configuration
Initialize Variable x7Today's date, high-priority types, Twilio from-number, user-to-phone map, Teams group/channel ids, and the per-rep agenda accumulator.
Get activities due today
HTTP GET Pipedrive RESTReads all users' open activities due today (/v1/activities?user_id=0&done=0). The Pipedrive connector has no list-activities operation, so built-in HTTP is the documented fallback.
Build distinct rep list
Select + Compose (union)Projects each activity to its owning user_id and de-duplicates so each rep is processed once.
Per-rep processing
Apply to each User (sequential)Filters this rep's activities, builds the agenda text line by line, posts the personalized agenda to the configured Teams channel, then filters high-priority items.
High-priority SMS
Condition + Twilio SendMessageIf any high-priority (call/meeting) items exist, texts the rep a reminder via Twilio.
Environment Variables
| Schema name | Type | Default | Description |
|---|---|---|---|
| flowlibs_PipedriveApiToken | String | REPLACE_WITH_PIPEDRIVE_API_TOKEN | Pipedrive API token for the HTTP activity read. |
| flowlibs_PipedriveApiBaseUrl | String | https://api.pipedrive.com/v1 | Pipedrive REST base URL. |
| flowlibs_TwilioFromNumber | String | +15551234567 | SMS sender (E.164). |
| flowlibs_HighPriorityTypes | String | call,meeting | Comma-separated activity types that trigger an SMS. |
| flowlibs_UserPhoneMap | String | {"0000000":"+15557654321"} | JSON map of Pipedrive user_id (string) to rep mobile. |
| flowlibs_TeamsGroupId | String | REPLACE_WITH_TEAMS_GROUP_ID | Target Teams team (group) id. |
| flowlibs_TeamsChannelId | String | REPLACE_WITH_TEAMS_CHANNEL_ID | Target Teams channel id. |
Connectors & Connections
| Connector | API name | Actions used |
|---|---|---|
| Pipedrive | shared_pipedrive | GET /v1/activities |
| Microsoft Teams | shared_teams | PostMessageToConversation |
| Twilio | shared_twilio | SendMessage |
Note — All connections are referenced as solution connection references; the flow is portable between environments as long as a connection is mapped at import time.
Customization Guide
Almost every realistic variant of this flow can be implemented by changing environment variable values. A few cases require small edits inside the flow definition — those are called out explicitly below.
- Overdue focus
- Query a wider date range (drop start_date, keep end_date = today) and flag rows where due_date < today to separate overdue from due-today.
- Deal context
- Enrich each agenda line with the linked deal's value/stage via a Pipedrive GetDeal call on deal_id.
- EOD recap
- Add an evening Recurrence that reports completed vs missed activities.
- Per-rep DM
- Swap the channel post for a 1:1 Teams chat keyed off the rep's UPN.
Key Expressions
The flow is intentionally light on Power Fx / WDL gymnastics — the heaviest expressions are the branch-name concatenation and the approval outcome check. They are listed below in the order they appear in the flow.
EXPR.01Pipedrive URL
Builds the Pipedrive activities REST URL for today.
EXPR.02Distinct reps
De-duplicates the owning user_id list.
EXPR.03This rep's activities
Filters activities to the current rep.
EXPR.04High-priority test
Selects call/meeting activity types for SMS.
EXPR.05Phone lookup
Maps the rep's user_id to their mobile number.
Customize & download
Generate a ready-to-import copy of this solution with your environment-variable values baked in — available on Base, Pro, or Team.
Upgrade to customize
Comments
Sign in to join the conversation.
Sign inNo comments yet. Be the first to share your experience with this flow.