Evidence Summary
- Workflow run
crm-communication-segment-contact-20260520T014407Z- Communication
39- Segment
5- Selected customer
906/Tecniram - Soluções Informáticas e Formação Ldageral@tecniram.pt- Recipient row
1180- Search request
communications/getPesquisaEntidadesComm- Add request
communications/postAddLCommunications
Before You Start
- Open CRM then Operations then Comunications, or navigate to
/crm/communications. - Create or open an email-enabled communication draft.
- Know which Pesquisa de Segmento should supply recipients. The verified run used segment
5. - This workflow only adds selected segment results to the communication list. It does not send, send a test email, schedule, import CSV files, convert leads, create documents, or touch stock.
Add a Segment Recipient
- Open the communication detail page.
- Click Add Contacts.
- In 1) Source, select Based in Research Segment. OfficeGest uses source value
TipoOrigemEnt=M. - Select the intended segment in Pesquisas de Segmento.
- Click Search to load matching recipients.
- Select the intended recipient rows.
- Click Add Contacts.
The verified segment search used CodPesqSeg=5, selectTipoT=C, email=1, and meioutiliz=M. It returned one selected customer row with id 906 and email geral@tecniram.pt.
Verified Requests
| Step | Request | Verified detail |
|---|---|---|
| Search segment recipients | GET /ajaxserver | action=communications, option=getPesquisaEntidadesComm, TipoOrigemEnt=M, CodPesqSeg=5, selectTipoT=C, email=1, and meioutiliz=M. Response returned success=true, pesquisa_segmentos=true, and customer 906. |
| Validate selected rows | POST /ajaxserver | option=postAddLCommunicationsValidate, TipoOrigemEnt=M, CodPesqSeg=5, MeioUtiliz=M, and user_send returned {"success":true,"resultado":""}. |
| Add selected rows | POST /ajaxserver | option=postAddLCommunications, id=39, email=1, MeioUtiliz=M, MeioUtiliz2=M, TipoOrigemEnt=M, CodPesqSeg=5, and user_send returned success=true, ok=1, and notok=0. |
Confirm the Contact
- Open or refresh the List Comunication tab.
- Confirm
DT_Select_LCommunicationsshows the segment contact row. - Confirm
DT_Select_Communicationsshows one unsent contact.
The verified recipient row was id=1180, id_communication=39, codterc=906, tipoterc=C, uploaded_csv=0, address=geral@tecniram.pt, type=email, enviado=F, and terceiro=Tecniram - Soluções Informáticas e Formação Lda. The communication summary showed totalcontactos=1, resumocontactos=geral@tecniram.pt, total_sent=0, and total_unsent=1.
Cleanup Used in Probe
The verification run deleted disposable communication 39 with communications / DELETE_communication. The delete returned bare JSON true, and the final communication lookup returned recordsFiltered=0.
Artifacts
raw/playwright/workflows/crm-communication-segment-contact-20260520T014407Z.jsonassets/screenshots/crm-communication-segment-contact-20260520T014407Z-01-communication-before-save.pngassets/screenshots/crm-communication-segment-contact-20260520T014407Z-02-add-modal-segment-source.pngassets/screenshots/crm-communication-segment-contact-20260520T014407Z-03-communication-after-segment-add.pngassets/screenshots/crm-communication-segment-contact-20260520T014407Z-04-after-cleanup.png