Evidence Summary
- Workflow run
crm-lead-add-to-communication-20260520T012943Z- Communication
39- Lead list
23- Imported lead row
1/ai-lead-communication-20260520t012943z@example.net- Added communication row
1177- Add request
leads/addToCommunication
Before You Start
- Create or open an email-enabled CRM communication draft from CRM then Operations then Comunications.
- Create or open a CRM lead list with imported rows from CRM then Leads.
- This workflow only adds lead rows as unsent communication recipients. It does not send, send a test email, schedule, convert prospects, create documents, upload files, or touch stock.
Add the Lead Row
- Open the CRM lead list detail page. The verified route was
/crm/leads/view/MjM=, whereMjM=is the encoded id for lead list23. - In the imported lead values table, select the lead rows to include in the communication.
- Use the selected-row action to add the rows to a communication.
- Choose the destination communication draft.
- Confirm the add action.
The verified request posted comm_id=39, leads_ids=1, and lead_id=23. OfficeGest returned {"success":true,"msg":"(1) Adicionado com sucesso","response":{"ok":1,"ok_ids":[1],"notok":0,"notok_ids":[]}}.
Confirm the Recipient
- Open or refresh the destination communication detail page.
- Open the List Comunication tab.
- Confirm the added lead row appears as an unsent email recipient.
The verified communication recipient row was id=1177, id_communication=39, codterc=1, tipoterc=L, uploaded_csv=0, address=ai-lead-communication-20260520t012943z@example.net, type=email, enviado=F, and id_lead=23. The communication summary showed totalcontactos=1, resumocontactos=ai-lead-communication-20260520t012943z@example.net, total_sent=0, and total_unsent=1.
Verified Requests
| Step | Request | Verified detail |
|---|---|---|
| Create lead list | POST /ajaxserver | Multipart leads / postNewLead created lead list 23 from a one-row CSV. |
| Add to communication | POST /ajaxserver | action=leads, option=addToCommunication, comm_id=39, leads_ids=1, and lead_id=23 returned success=true, ok=1, and notok=0. |
| Verify recipient row | DT_Select_LCommunications | Returned row 1177 with tipoterc=L, id_lead=23, the lead email address, and enviado=F. |
| Verify counters | DT_Select_Communications | Communication 39 returned one contact, one unsent email recipient, and no sent contacts. |
Cleanup Used in Probe
The verification run deleted disposable communication 39 with communications / DELETE_communication and deleted lead list 23 with leads / DELETE_lead. Final searches confirmed both disposable records were absent.
Artifacts
raw/playwright/workflows/crm-lead-add-to-communication-20260520T012943Z.jsonassets/screenshots/crm-lead-add-to-communication-20260520T012943Z-01-communication-before-save.pngassets/screenshots/crm-lead-add-to-communication-20260520T012943Z-02-lead-detail-before-add-to-communication.pngassets/screenshots/crm-lead-add-to-communication-20260520T012943Z-03-communication-after-lead-add.pngassets/screenshots/crm-lead-add-to-communication-20260520T012943Z-04-after-cleanup.png