Kibana watchers migration to Opensearch Dashboard

I am trying to mimic kibana watchers functionality to Opensearch dashboard.
Alerting is configured for opensearch dashboard, but I am unable to fetch columns of indexes in mail(action) of opensearch alerting which is in mustache format.
Is it possible to fetch column’s data from index of opensearch apart from below ctx columns

  • Trigger: {{ctx.trigger.name}}
    • Severity: {{ctx.trigger.severity}}
    • Period start: {{ctx.periodStart}}
    • Period end: {{ctx.periodEnd}}