Skip to Content
trumpetdocs

Mutual Action Plan Agent

Use AI to create or update a Mutual Action Plan on a Pod page. It resolves the existing MAP internally and creates one when absent; no MAP-exists conditional is needed for create-or-update.

Purpose

Create or revise a Mutual Action Plan on a known Pod page from the supplied source text.

Run requires

  • target Pod and page, and permission to update the Pod

Previous recommended steps

  • Find a Pod page — When the target page is known only by title.
  • Find a Mutual Action Plan — When explicitly choosing an existing MAP for an update-only request and no suitable MAP ID is already supplied.

Conditions

  • Default: Map the source text and create or update the MAP directly.
  • Already handled: The runner validates source text, Pod and page IDs, and Pod access. The agent updates an existing MAP or creates one.
  • Use a condition when: The user requests business routing or explicitly skipping a missing MAP. For update-only, supply the selected existing map_id rather than relying on create-or-update.
  • Failure behavior: Missing, blank, or unresolvable source_text fails before the agents run. Invalid targets, denied access, an invalid supplied map_id, or ambiguous MAP resolution also fail execution.

Guidance

  • map_id is a MAP document ID, not a widget ID. When explicitly selecting a plan, reuse a suitable trigger or verified lookup ID; a null mapped value fails validation. A known MAP ID needs no additional lookup.
  • For create-or-update, omit map_id: MAP resolves via get_mutual_action_plan_from_pod, updates one existing MAP, creates when none exists, and fails on an ambiguous lookup. Do not add an existence guard that would silently turn this into update-only.
  • Map source_text to non-empty text, such as a call transcript or meeting notes.