Actions128
- Org Actions
- Location Actions
- Phone Number Actions
- Membership Actions
- User Actions
- API Key Actions
- Invite Actions
- Onboarding Actions
Phone Number → Upsert Location
AI-generatedSummary
Upserts a location by checking org_id and slug/name match; creates if new, updates if existing, then PATCHes context and optional fields.
Inputs
- orgId (required) — Organization ID
- locationName (required) — Name of the location
- locationSlug — Optional slug; derived from locationName (lowercase, hyphenated) if not provided
- locationTimezone — Timezone for the location
- locationStatus — Status of the location; defaults to 'draft' if not specified
- context — Context JSON object for the location
- industryId — Optional industry_id override
- templateId — Optional template_id override
- promptSnapshotId — Optional prompt_snapshot_id override
Output shape
Main output item containing the API response from LinderConnect. Includes the location ID from create/update and the result of the subsequent context/optional fields PATCH request.
The node always issues a final PATCH to set context, industryId, templateId, promptSnapshotId, and status as provided in the UI parameters.
Examples
Example 1: Create a new location in an organization
Provide orgId and locationName; optional fields omitted. Node performs GET check, POST creates location, then PATCH sets context/fields to defaults/void.
Example 2: Update existing location and set context
Provide orgId, locationName, and context. If a location with matching org_id and slug/name exists, it is PATCHed with the new name, slug, timezone, status, and context. A subsequent PATCH applies the context and optional overrides.