campaign_get
ChatGPTGet one campaign by id. Returns campaign metadata, source segments/forms, and optionally a compact event graph. Access is checked by the Mautic campaign API.
Aivie helps users search CRM contacts, campaigns, reports, segments, themes, and MJML emails, then inspect details or create and update private Aivie email content through ChatGPT.
includeContactCounts only when counts are needed.customer.ci.company, customer.ci.tagline, customer.ci.url, customer.ci.addressPart1, customer.ci.addressPart2, customer.ci.colors, customer.ci.font, and CTA styling fields when matching customer identity. - Treat customer.appParam and customer.infra as operational context only; do not print infrastructure details in public marketing copy unless explicitly requested. - Treat missing or empty fields as unknown — never invent customer facts. Field map by intent: - Brand identity → customer.ci.company, customer.ci.tagline, customer.ci.url - Company profile → customer.ci.company, customer.ci.addressPart1, customer.ci.addressPart2, customer.ci.url - Social profiles → customer.social.linkedin, customer.social.instagram, customer.social.facebook, customer.social.youtube, customer.social.twitter - Visual style → customer.ci.colors, customer.ci.font, customer.ci.fontColor, customer.ci.fontSize, customer.ci.lineHeight - Primary CTA style → customer.ci.pc2aColor, customer.ci.pc2aBgColor, customer.ci.pc2aBorderRadius, customer.ci.pc2aPadding - Instance context → customer.appParam.clientType, customer.appParam.siteUrl, customer.infra.vanityHostmeetingGoal is required so the AI client can prepare the briefing for the right objective instead of producing a generic summary.text may contain simple HTML; it is stored as-is. type categorizes the note (general, email, call, or meeting). Provide dateTime (format YYYY-MM-DD HH:MM) to backdate the note, otherwise the current time is used.search to filter by note text and orderBy/orderByDir to sort.search for Mautic contact filters. Pagination uses limit (1-100) and offset. Results are permission-filtered by the Mautic contact API.search, includeEvents, or excludeEvents to narrow activity.name, subject, language, emailType, mjml. - emailType must be list or template. - lists (array of segment IDs) is required when emailType=list. Use segment_search first to pick segment IDs. - Use email_theme_search first to find a theme key. Use email_theme_get to inspect sample templates, then pass the selected theme key as theme. - When using a theme as a base, call email_theme_get with returnFormat=mjml (not mjml+twig). The mjml passed here should be valid rendered MJML. Do not pass raw theme Twig unless you are intentionally creating Twig-based content. The MJML is validated locally (UTF-8, size ≤ 100 KB, Twig syntax) before the email is created so errors are reported up-front.mjmlOnly=false to also include the rendered HTML.search for Mautic filter strings (e.g. segment:Newsletter). Pagination via limit (1–100) and offset.key from email_theme_search. returnFormat controls the format of the returned theme sample: - mjml (default) returns rendered MJML with concrete values and no Twig variables in MJML attributes. Use this when creating or editing emails — it can be passed directly to email_create_mjml. - mjml+html returns rendered MJML and rendered HTML for preview. - html returns rendered HTML, e.g. for preview. - mjml+twig returns the raw theme template source. Use this only when you explicitly need the template source — it may contain Twig variables such as {{fontSize}}, {{bgColor}}, or conditional blocks, and should not normally be passed directly to email_create_mjml.email_theme_get to load MJML/HTML/Twig sample content for one theme.customMjml / customHtml). format must be mjml+twig or html+twig. Metadata (name, subject, lists, published state) is not modified. Updates overwrite the live email and are not auto-reversible.email_update_content for body changes. Updates overwrite the live email and are not auto-reversible.limit and page to paginate large reports, and dateFrom/dateTo (YYYY-MM-DD) to restrict the date range. Access is checked by the Aivie report API.report_get with a report id to fetch the compiled rows. Results are permission-filtered by the Aivie report API.publicOnly=false to include internal segments. Use the returned segment ids with email_create_mjml.lists when creating list emails.