Metrics

../_images/metrics_banner.svg

aidoc supports a variety of metrics and reporting - which is easily extendable, and can even be customised to/from third parties in emails using vanilla Jinja templating:

{# --- 1. GLOBAL ENVIRONMENT VARIABLE CONFIGURATIONS --- #}
{% set last_stint   = contact.stints[-1] if contact.stints else None -%}
{% set company      = last_stint.company if last_stint else None -%}
{% set company_name = company.name if company else "" -%}

{# --- 3. THE FINAL CLEAN OUTPUT LAYOUT --- #}
Hi {{ contact.first_name() }},

{% if company -%}
Just following up on our tenders:
{{ metrics('jobs', company=[company_name], attrs=['listed', 'title', 'contact', 'state']) }}
{% endif -%}

Please do reach out at your convenience.

You can then send this via eiter company or contact subcommands:

$ aidoc contact mailout --template <template.j2> --subject "Touching Base" 10, 33-35

User-Facing Reference

These subcommands handle workflow coordination, status alterations, and file edits.