People, Deals, and Activities
Store stable IDs for the business record, contact, Miss Blue line, thread, and logical message. Keep provider state separate from human-readable CRM fields.
Add iMessage follow-up to Pipedrive people, deals, activities, and stage transitions.
Custom API integration · setup walkthrough below · updated September 13, 2026
Internal observations reported by Miss Blue beta customers compared with their SMS outreach. Results vary; validate performance in your own controlled rollout.
The integration maps People, Deals, and Activities to a granted Miss Blue line and durable conversation state. Your system decides when a contact should be messaged; Miss Blue provides the blue line, events, and human Message Center.
Store stable IDs for the business record, contact, Miss Blue line, thread, and logical message. Keep provider state separate from human-readable CRM fields.
Choose narrow, explainable triggers. Validate consent, ownership, destination, and conversation state before creating the next customer-visible action.
Write back the minimum operational state teammates need: direction, outcome, owner, safe references, timestamps, and the next action—not secrets or noisy duplicate content.
Pipedrive API or an automation connector routed through the Miss Blue API. The exact connector configuration is confirmed during onboarding for your account and use case.
Deal-stage change becomes a candidate action. Your workflow verifies the record, permission, line, and current owner.
A protected server integration records and deduplicates a logical send before calling Miss Blue, with references back to the Pipedrive record.
Verified delivery changes and replies are deduplicated before Pipedrive, an agent, or another workflow performs side effects.
Automation pauses first. An authorized teammate continues the same conversation in the Miss Blue Message Center and remains accountable for the next step.
Start with one trigger and one accountable owner. Expand only after the team can explain every send, replay every event safely, and recover failed work.
Use iMessage for expected, relevant, two-way conversations—not indiscriminate blasting. Every use case should define permission, the business identity, stop conditions, and a human recovery path.
Lead qualification works best when the contact understands why the business is reaching out. Use a narrow Pipedrive signal to start an expected conversation, then return reply state and the next owner to the workflow.
Deal nudges works best when the contact understands why the business is reaching out. Let automation handle the predictable first step while keeping stop conditions and human takeover visible from the beginning.
Appointment confirmation works best when the contact understands why the business is reaching out. Connect business context to the blue line without duplicating the whole conversation across tools or losing accountability for the next response.
This is a custom integration blueprint using the Pipedrive API and Miss Blue API. It is not a one-click Pipedrive Marketplace installation. You need a server or automation worker with durable storage, credentials for both accounts, an authorized Miss Blue number, and permission to contact the selected person.
Swipe across the table to see every column.
| Record | Store | Why it matters |
|---|---|---|
| Pipedrive company + Person | Company ID, person ID, selected phone/email, permission evidence | Do not merge people across accounts or guess from a display name. |
| Deal | Deal ID, stage ID, owner ID, workflow enrollment ID | A stage edit should not repeatedly enroll the same deal. |
| Miss Blue conversation | Project ID, number ID, thread ID, contact address | A reply returns to the correct business line and CRM record. |
| Send attempt | Logical send ID, provider message ID, state | Reconcile an uncertain timeout before creating another send. |
| Follow-up activity | Reply event ID, activity ID, assigned owner | A retried event should update one task, not create duplicates. |
Example mapping owned by your integration. These are suggested storage fields, not built-in Pipedrive custom-field names.
For example, enroll a deal when it moves into your “Demo requested” stage, has a linked Person with a verified destination, and has recorded permission for this follow-up. Use your actual numeric stage ID. A webhook about any deal edit is only a candidate: reload the current deal and person, check the prior transition, and skip unchanged or already enrolled records.
Subscribe to the relevant Pipedrive webhook events using its current Webhooks API. Version 2 envelopes contain a unique event ID in meta.id and changed prior fields in previous. Authenticate the delivery using Pipedrive’s supported configuration; do not apply Miss Blue’s signature format to a different provider.
In your database, atomically save the accepted event and a pending workflow action. Use a unique enrollment key such as company + deal + workflow version, and record which owner maps to which granted Miss Blue number. Check your suppression state again immediately before dispatch. A contact who opts out while work is queued must not receive the queued follow-up.
Start with the sandbox. Its virtual number simulates delivery and replies without contacting a person. Switch to a live number only for your controlled live trial.
An example message for an opted-in demo request: “Hi Jordan, this is Alex at Example Co. You asked about a demo—would Tuesday afternoon work?” The server posts the selected number_id, recipient, and text to /v1/messages. Store the returned message ID. A 201 response means the send was accepted; it does not prove delivery or a customer reply.
Keep deduplication in your adapter and follow the API’s documented retry contract. Do not invent an Idempotency-Key header and assume it works. If a request times out with an unknown outcome, reconcile provider state or surface it for review rather than automatically sending a new message.
Subscribe to a signed Miss Blue project webhook for message.received. Verify the raw request, deduplicate the envelope id, and map data.number.id plus data.message.sender_handle to your stored Person and Deal. Use the known thread mapping if the sender address is absent; otherwise queue it for review. Never infer the Person from data.message.from (an opaque id on an iMessage line) or a display name.
Create an unfinished Pipedrive activity for the current deal owner, linked to the Deal and Person. The current Activities API uses participants to set the primary Person. The sample below is a request-body example for POST /api/v2/activities; replace the fixture IDs with your stored mapping and use an activity type configured in your account.
{
"subject": "Reply to Jordan’s demo question",
"type": "task",
"owner_id": 123,
"deal_id": 456,
"participants": [{ "person_id": 789, "primary": true }],
"done": false,
"note": "Customer replied on the business line. Open the mapped Miss Blue conversation."
}Persist the returned activity ID. If the CRM request has an ambiguous outcome, reconcile before retrying the creation. Avoid putting private message content into diagnostic logs or unnecessarily duplicating the whole transcript in the CRM.
Move your adapter’s workflow into a human-owned state and stop pending automated replies before notifying the rep. The rep continues the conversation in Miss Blue’s Message Center. A personal pin helps that member find the thread; it does not pause an external automation or assign the CRM deal. Implement those ownership changes explicitly.
Replay the same stage event twice, send two unrelated edits while the deal stays in the stage, change the owner before the reply arrives, remove the phone number, block the contact, and temporarily fail the CRM write. Expected result: one enrollment, no send to an excluded lead, and one recoverable follow-up task for a valid reply.
Yes, through a custom server-side adapter using the Pipedrive and Miss Blue APIs. This page provides an implementation blueprint, not a one-click Marketplace connector. Your developer configures credentials, mapping, event handling, and ownership.
Start with People, Deals, and Activities, then map the workspace, authorized Miss Blue line, contact, thread, logical message, owner, and automation state. Keep mappings stable and explicit.
Typical candidate signals include Deal-stage change, Completed activity, and Owner-triggered action. Your backend should still validate consent, destination, line authorization, ownership, and stop conditions before sending.
Yes. Verified Miss Blue events can update safe operational state in Pipedrive, create a task, notify the owner, or resume a workflow. Persist and deduplicate the event before performing those side effects.
No. Miss Blue includes a Message Center where authorized teammates can work contacts and conversations directly. Your integration can use the API, the Message Center, or both.
Yes. Keep the model behind bounded server-side tools, give it only the context and actions it needs, and pause it before a human takes ownership of the conversation.
Record one logical send in your adapter and deduplicate dispatch. Persist event IDs together with pending actions, bound retries, and reconcile ambiguous timeouts instead of blindly resending.
Compare the Pipedrive workflow with a controlled baseline using qualified replies, time to owner response, booked or completed outcomes, opt-outs, failures, and attributed revenue. Results vary by audience and workflow.