Skip to Content
trumpetdocs

Find a Pod

Look up an existing Pod using configured filters; this step does not create one.

Purpose

Resolve an existing Pod from CRM identity and configured scope for later actions.

Run requires

  • brand-scoped Pods matching optional CRM filters and configured filters

Next recommended steps

  • Branch — Only when the user requests reuse-or-create, a fallback, or intentional skip on the lookup result.
  • Create Pod from template — On the no-match path of that branch, when creation is requested and its required inputs are available.

Conditions

  • Default: Pass pod_id or links directly to the next step without a found=true or existence condition.
  • Already handled: The lookup applies configured CRM, template, type, status, tag, and owner filters; dependencies ensure it completed.
  • Use a condition when: The user requests create-if-missing, a fallback, intentional skipping, or another rule on the lookup result.
  • Failure behavior: No match completes with found=false and null Pod details. A downstream input requiring a Pod ID or URL fails on null, leaving a visible run failure.

Guidance

  • When template.type="mapped", map template_id; static/any mode uses config. Omit genuinely unused optional CRM filters, but preserve every identity filter required by the requested association; mapped null must fail rather than broaden a deal-specific search.
  • config.crm_type sets the CRM system for the lookup, or null for any; it is never mapped.
  • If several Pods match, the most recently created is selected. Zero matches succeed with found=false and null Pod details; ordinary consumers validate their required inputs.
  • On found=true, pod_id, edit_url, and live_url are non-null; do not add separate existence checks for them. title can still be null.
  • This lookup has no exact Pod-ID filter. Do not use it to fetch a URL for an already-known Pod ID; it may select a different Pod.