Prospect CRM Push
Create new prospect contacts in the CRM (customer relationship management system) and stage proposed edits to existing records for a human to apply.
When to use
- A new prospect has been identified and needs to be added to the CRM as a contact.
- Research or outreach has surfaced updated details (title, company, phone, notes) for a contact that already exists in the CRM.
- A batch of prospects needs to be pushed into the CRM after a sourcing run.
- A stale or incomplete CRM record needs a correction that only a human can apply.
Tools
http-post— calls the CRM's REST API to create new prospect contact records.write-file— writes the staged update list (proposed changes to existing records) to a file for human review.send-message— notifies a human that new contacts were created and/or that staged updates are waiting for their action.
Playbook
- Confirm you have the prospect's core fields ready: name, email, company, title, and any source/context notes.
- Check whether the prospect already exists in the CRM before creating a duplicate, using the CRM's search/read capability if available in this session.
- For a brand-new prospect, call the CRM REST API with
http-post(e.g. POST https://api.hubapi.com/crm/v3/objects/contacts) to create the contact record. Authentication is injected by the org's Integration row for this host — never ask for, echo, or hardcode credentials. - If the create call returns 401/403 or no Integration row exists for the CRM host, stop and message a human via
send-messageasking them to create the Integration, naming the service and required scopes. - If the create call succeeds, note the new record's ID and confirm the fields that were written.
- For an existing prospect that needs updating, do not attempt the change directly — the CRM's update path requires PATCH/PUT, which is not possible with the declared tools. Instead, compile the proposed field changes (record ID, field name, old value, new value) into a clear change list.
- Write the change list to a file with
write-fileso a human can review and apply it in the CRM. - Message a human via
send-message, pointing them to the staged file and summarizing how many new contacts were created and how many updates are pending their action. - If a batch of prospects is being processed, repeat the create/stage steps for each one and roll the summary into a single final
send-message.
Failure modes
- 401/403 on the CRM API call -> missing Integration row; stop and escalate via
send-messagenaming the service and required scopes. - Create call returns an empty or unexpected result -> verify the endpoint URL and required parameters before retrying.
- Rate limit or throttling response from the CRM -> back off, retry later, and note the rate limit in memory for future runs.
- CRM record needs a field update or deletion -> not possible with declared tools; write the change to a file with
write-fileand hand off to a human viasend-messagerather than implying the update happened.
Done when
- Each new prospect has a confirmed contact record ID returned from the
http-postcreate call. - A change-list file exists (via
write-file) enumerating every proposed update to existing records. - A human has been notified via
send-messagewith a summary of contacts created and updates staged for their review.