pipedrive_get_deal_conversion_status
Check deal-to-lead conversion status to get lead_id when completed, identify failure states, and stop polling on 404 purged signal.
Instructions
Get the status of a deal-to-lead conversion job. Status contract: 'completed' (terminal, carries lead_id), 'failed'/'rejected' (terminal, stop polling, no lead produced), 'not_started'/'running' (in-progress, re-poll). Only 'completed' carries lead_id, and conversion status is purged after a few days, so a 404 returned after a prior valid status means the status was purged (terminal stop-polling signal, not a transient error). Use a bounded poll budget (e.g. up to ~6 attempts with short backoff), not an unbounded loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The deal ID that was converted | |
| conversion_id | Yes | Conversion job UUID returned by the convert call |