meta api fix

This commit is contained in:
debu-2 2026-10-03 14:35:23 +05:30
parent 6810f392cc
commit e98036cd31
5 changed files with 33 additions and 50 deletions

View file

@ -11,29 +11,36 @@ DEFAULT_AGENT_TEMPLATES = [
"Notify end users when an Urmi AI agent run completes, with a dynamic "
"View Report button linking to the completion report."
),
"header_text": "Agent Run Complete",
"header_text": "Agent Run Successful",
"body_preview": (
"Hello {{customer_name}}, your agent run is complete, you can access "
"the completion report at your URMI AI Portal."
),
"footer_text": "Thanks and regards, team - URMI AI",
"meta_template_name": "agent_run_completion",
"meta_template_name": "agent_run_completion_v2",
"language": "en",
"category": "utility",
"parameters": [
{
"name": "{{1}}",
"name": "customer_name",
"type": "string",
"required": True,
"description": "Positional body variable — recipient display name",
"description": "Recipient display name (template body variable)",
"example": "Suyash",
},
{
"name": "{{2}}",
"name": "report_group",
"type": "string",
"required": True,
"description": "Positional button variable — report path suffix (report_group/report_id)",
"example": "desi-clans-test/2026-10-03",
"description": "Urmiport report group slug",
"example": "desi-clans-test",
},
{
"name": "report_id",
"type": "string",
"required": True,
"description": "Report postfix; combined with report_group for the button URL suffix",
"example": "2026-10-03",
},
],
"button_label": "View Report",