Skip to main content

Open API, Automation & Calendars

Customer API & webhooks

Salesforce Portfolio Reporting Sync & Tenant Office

Institutional asset managers and multi-market operators often run investor reporting and portfolio rollups in Salesforce. Using GET /api/v1/customer/properties and our shipped Salesforce portfolio sync blueprint, your team pushes accurate property door counts, occupied vs. vacant unit totals, and occupancy percentages into Salesforce REST v61.0 Account records on a daily schedule.

Estimated setup time
20–30 minutes
Required role
Salesforce administrator or asset management analyst
Connection method
Customer API & webhooks

Setup path: Connect via Salesforce OAuth2 (*.my.salesforce.com allowlist) using the shipped n8n-salesforce-portfolio-sync.json blueprint.

What connects

What flows between Salesforce Portfolio Reporting Sync and Tenant Office.

  • Property names, addresses, property types, and active portfolio status from GET /api/v1/customer/properties
  • Computed total unit counts, occupied unit counts, vacant unit counts, and exact occupancy percentages
  • Deterministic Tenant_Office_Property_Id__c external keys for idempotent Salesforce Account upserts
  • Zero resident contact details, lease financials, or ledger lines (property-level metrics only)

Before you start

Prerequisites for setting up Salesforce Portfolio Reporting Sync.

Confirm these items before starting so your setup completes cleanly in 20–30 minutes.

  • A Salesforce org (*.my.salesforce.com) with a Connected App configured for REST API v61.0 OAuth2.
  • A custom unique External ID field on the Account object for Tenant Office property IDs.
  • An administrator-issued Tenant Office Customer API v1.1 bearer credential and n8n workspace.

Step-by-step tutorial

4 steps to set up Salesforce Portfolio Reporting Sync.

Follow these steps as an salesforce administrator or asset management analyst to configure and test your Salesforce Portfolio Reporting Sync workflow.

  1. Create a custom External ID field on Salesforce Account

    Add a unique External ID text field (for example Tenant_Office_Property_Id__c) on Salesforce Account records for clean upserts.

  2. Import n8n-salesforce-portfolio-sync.json

    Import the inactive blueprint from integrations/templates/ and configure your *.my.salesforce.com instance URL (strictly allowlisted).

  3. Connect Tenant Office bearer auth and Salesforce OAuth2

    Bind your scoped Customer API header credential and authorize Salesforce Connected App OAuth2 inside your automation workspace.

  4. Verify Account upserts and schedule daily sync

    Run a single manual sync to verify property counts and occupancy percentages in Salesforce before enabling the daily cron schedule.

End-to-end example workflow

How property teams run Salesforce Portfolio Reporting Sync day to day

An affordable-housing sponsor with 14 institutional partnerships tracks asset KPIs in Salesforce. Importing n8n-salesforce-portfolio-sync.json syncs daily unit counts and occupancy percentages from GET /api/v1/customer/properties straight into Salesforce Accounts—eliminating manual Friday spreadsheet exports.

Field mapping & reference

Exact fields, endpoints, and data mapping.

Reference how Tenant Office records, headers, or API endpoints align with Salesforce Portfolio Reporting Sync before running your first live workflow.

Tenant Office field / endpointSalesforce Portfolio Reporting Sync field / targetMapping notes
property.idAccount.Tenant_Office_Property_Id__c (External ID)Anchors idempotent REST v61.0 upserts across scheduled daily portfolio refreshes.
computed totalUnits & occupiedUnitsAccount.NumberOfUnits__c & Occupancy_Percent__cAggregates door counts and occupancy percentages directly from scoped unit inventory.
property.address, city, state, zipAccount.BillingStreet, BillingCity, BillingState, BillingPostalCodeKeeps portfolio property location metadata aligned without transmitting resident data.

Verification & troubleshooting

How to verify Salesforce Portfolio Reporting Sync is working.

Run through these checks after completing setup to confirm clean delivery, scoping, and audit trails.

  • Confirm the Salesforce instance URL passes the strict *.my.salesforce.com hostname allowlist.
  • Run one manual sync against a Sandbox org and confirm Account unit counts and occupancy % match Tenant Office.
  • Verify zero resident contact records or lease financial entries appear in the outbound request body.

Common issues & fixes

Quick symptom, cause, and resolution guidance for the edge cases property teams encounter most often with Salesforce Portfolio Reporting Sync.

  • Salesforce rejects the upsert with INVALID_FIELD on the External ID.

    Likely cause
    The custom External ID field API name on Account does not match the blueprint field name.
    How to fix
    Create the External ID field on Account (or update the field API name in the n8n mapping node) and re-test.
  • The instance URL validator blocks the Salesforce endpoint.

    Likely cause
    The configured URL used a legacy non-My-Domain host or plaintext http://.
    How to fix
    Use your canonical https://<org>.my.salesforce.com domain from Salesforce Setup > My Domain.
  • Properties beyond page 1 are missing from Salesforce.

    Likely cause
    Pagination cursor looping was disabled or truncated in a modified workflow copy.
    How to fix
    Keep the blueprint’s nextCursor pagination loop intact so all scoped properties paginate cleanly.

Questions (5)

Salesforce Portfolio Reporting Sync FAQ

Detailed answers covering workflow scope, role permissions, pricing, edge cases, and data ownership.

Which Salesforce API version does the blueprint target?

The shipped adapter and n8n blueprint format composite upsert requests for Salesforce REST API v61.0 against validated *.my.salesforce.com domains.

Does Tenant Office send individual resident records to Salesforce?

No. Only property-level inventory, door counts, and occupancy rollups are mapped into Salesforce Accounts.

Can we restrict which properties sync to a specific Salesforce org?

Yes. Issue a Customer API credential scoped solely to the properties managed under that investor or regional entity.

How does the sync prevent duplicate Account records on every daily run?

Every upsert keys on Tenant Office’s stable property ID mapped to a Salesforce External ID field, updating existing Account metrics rather than inserting duplicates.

Does this blueprint work with Salesforce Sandbox orgs for testing?

Yes. Standard *.sandbox.my.salesforce.com domains pass the strict *.my.salesforce.com hostname allowlist so you can validate in Sandbox first.