Hi there, using programmable email, I’m trying to return a list of Companies associated with a Contact, but filter those Companies based on list membership:
{% set associated_companies = crm_associations(contact_details.id, "USER_DEFINED", 146, 'list_memberships'~'contains'~module.list_id, 'venue_id,name,plan_name', false) %}
Does anyone know if this is possible in programmable email? I have a feeling the list_memberships function doesn’t exist here, but could be wrong.
Thanks!