Hi,
Is there a way to search for contact notes? Say for example I meet with a contact and add a note that they were interested in ‘Product X’. Then the next week I can’t remember the name of the contact I spoke with. Can search for ‘Product X’ and find all contacts with ‘Product X’ in their notes?
Thanks,
Kevin
Hi,
Is there a way to search for contact notes? Say for example I meet with a contact and add a note that they were interested in ‘Product X’. Then the next week I can’t remember the name of the contact I spoke with. Can search for ‘Product X’ and find all contacts with ‘Product X’ in their notes?
Thanks,
Kevin
I also need a way to search for contact notes.
I need to:
- Filter for contacts with a specific type of notes, e.g. call notes.
- Search for a specific text in all contact notes of all contacts.
Does anybody know a way to perform this?
If this is not possible, Mautic is not really usable as CRM… that would be sad…
Thanks anyway for any answer.
Hi, you can’t do it right now
Any update on this?
How about a script for terminal? @mzagmajster
In concept, it would be possible to do this search through an external automation platform (Zapier/Make/n8n), or through Mautic’s API, although I agree it would be much more user-friendly to have this functionality available directly within Mautic.
It is possible for Mautic to send out a webhook upon a Contact Update event. The question then would be: does Mautic consider a Note added/updated as a “Contact Update” event? I haven’t tested this yet… If yes, you could pull all notes into another log or dataset like Google Sheets with timestamped events, that you could easily search through. Still, would be so much better within Mautic directly…
Hi @entrepositive, @rbritt ,
a nice idea for a plugin (although it kind of feels better to extend the core for this).
I am not sure thi is gonna be of much use to anyone, but here is the sql to search the notes:
Search by text:
SELECT id, lead_id
FROM lead_notes
WHERE text LIKE '%search text%';
Search by type:
SELECT id, lead_id
FROM lead_notes
WHERE type = 'general';
I confirm: creating a Note will not fire a Contact Update Event webhook.
It is however possible to schedule a recurring API call to GET all Notes, which can then be filtered.
@mzagmajster how is the Note element related to the Contact? Is it related like a custom field? Can Mautic be modified to fire a Contact Update Event when a Note is created?
Notes are stored in separate table that is connected to the main leads table.
There is a dedicated event in Mautic core that gets triggered when updating notes but as I see it, it does not trigger the webhook event.
Yes, it can be modified so that you get the webhook for this too, but t his approach is not ideal for what you are trying to do.
Best, M.
For my use case, it would be enough to have a custom field bool like {contactfield=contacted} set to TRUE when any note for the contact is created/updated. I would track the first time there is contact made, by the user creating a Note. Then we’d use that binary as a condition in campaigns.
EP