PlaysbyMoat8
Back to the library
The workflow guideSales

Segment property-sales partners in a spreadsheet

A property team used an AI-written spreadsheet script to group agents by prior building sales, create partner-specific working sheets, and track outreach status.

6 implementation stepsIntermediate

How this works

A property team used an AI-written spreadsheet script to group agents by prior building sales, create partner-specific working sheets, and track outreach status.

Segment professional partners using permitted transaction evidence and explicit property criteria. A generated spreadsheet script should preserve source rows and status history, with counts reconciled before the team uses the resulting lists.

Before you start

Defined operating scope

Partner outreach uses permitted transaction data and segment-specific ownership rules.

Required source material

Obtain Permitted agent and transaction data; Desired property segments; Status and ownership rules. If connectors are unavailable, use authorized files with the same fields.

Decision and exception rules

A partner qualifies for several segments. Keep multiple memberships with one master record rather than duplicating identity.

Prepare the inputs

partner_records
Required

Stable IDs and professional fields

Keep permitted source and record date.

transaction_rows
Required

Partner, building and sale references

Define duplicate and cancellation handling.

segment_rules
Required

Property groups and eligibility conditions

Allow documented overlap where intended.

ownership_status
Required

Assigned owner and outreach state

Do not overwrite current manual updates.

Implementation, step by step

  1. Establish the working record

    • Confirm the selected records, effective versions and responsible owner.
    • Check partner_records, transaction_rows, segment_rules, ownership_status before beginning. Record the source version and the selected scope; an unavailable value stays unknown rather than becoming an inferred fact.

    Checkpoint: The input record identifies the selected partner_records and any missing required fields.

  2. Export the relevant data and describe its schema

    • Export the relevant records and document columns, keys, missing values and transaction status meaning.
    • Test the script on a copy with duplicate, missing-key and overlapping-segment examples.

    Checkpoint: A saved intermediate result for: Export the relevant data and describe its schema.

  3. Generate a script that groups agents by the target criteria

    • Generate a bounded transformation on a copy that groups partners by the target building or segment rules.
    • Reconcile source row counts, distinct transactions and partner memberships independently.

    Checkpoint: A saved intermediate result for: Generate a script that groups agents by the target criteria.

  4. Create segment and owner views with status tracking

    • Create segment and owner views with stable links to master records, preserving outreach status and overlapping membership.
    • Test the script on a copy with duplicate, missing-key and overlapping-segment examples.

    Checkpoint: A saved intermediate result for: Create segment and owner views with status tracking.

  5. Review the results before using them in outreach

    • Reconcile unique partners, segment memberships and exclusions before presenting the working sheets for outreach review.
    • Reconcile source row counts, distinct transactions and partner memberships independently.

    Checkpoint: A saved intermediate result for: Review the results before using them in outreach.

  6. Package the result and unresolved work

    • Test scripts on a copy and reconcile counts and assignments. Verify data permissions; the source does not document how the underlying public data was collected.
    • Use only permitted professional and transaction data.

    Checkpoint: Segmented partner lists and working views for the sales team. Unresolved items remain visible in the review record.

Decisions along the way

A partner qualifies for several segments.

Keep multiple memberships with one master record rather than duplicating identity.

A transaction is cancelled or duplicated.

Apply the stated exclusion rule and show its effect on eligibility.

The script changes source rows unexpectedly.

Stop, restore the copy and inspect the transformation before any live update.

What you will produce

segment-property-sales-partners-in-spreadsheets-result.json

JSON

Segmented partner lists and working views for the sales team. Label proposed and completed states separately.

Include: partner_id · segment_ids · qualifying_transactions · excluded_rows · owner · outreach_status · source_references · status · evidence_reference · review_note

segment-property-sales-partners-in-spreadsheets-review.md

Markdown

Keep the evidence and unresolved decisions needed to apply this result, including exceptions involving ownership_status.

Include: source_reference · question · owner · next_action

Check the result

  • Test the script on a copy with duplicate, missing-key and overlapping-segment examples.
  • Reconcile source row counts, distinct transactions and partner memberships independently.
  • Inspect partner_records and transaction_rows in both the original and output; confirm that record identity and interpretation survived the transformation.
  • Test scripts on a copy and reconcile counts and assignments. Verify data permissions; the source does not document how the underlying public data was collected.

When something goes wrong

A partner qualifies for several segments.

Keep multiple memberships with one master record rather than duplicating identity. Retain the affected evidence and recovery status.

A transaction is cancelled or duplicated.

Apply the stated exclusion rule and show its effect on eligibility. Retain the affected evidence and recovery status.

The script changes source rows unexpectedly.

Stop, restore the copy and inspect the transformation before any live update. Retain the affected evidence and recovery status.

A worked example

SYNTHETIC EXAMPLE · NOT A REPORTED BUSINESS RESULT

Request

Segment property-sales partners in a spreadsheet for the following bounded example; prepare the result for review.

Inputs

Synthetic example: Partner P-2 has two valid sales in Building B-1 and one duplicated transaction row. P-3 has only a cancelled sale.

Expected result

Synthetic expected result: Count P-2’s two distinct valid sales and include the relevant segment. Exclude P-3 under a completed-sale rule; preserve the duplicate and cancellation reasons in the audit.

Run a small pilot

Start small

Trial a representative batch containing the ordinary case and the exception demonstrated above.

Record the baseline

Record current preparation time, review effort and correction types for the same records.

Agree success criteria

Agree acceptable review and error limits; measure correct partner segmentation; record-preparation time and duplicate outreach assignments.

Stop or revise

The script changes source rows unexpectedly. Pause affected records and apply this recovery: Stop, restore the copy and inspect the transformation before any live update.

Keep the scope clear

  • Use only permitted professional and transaction data.
  • Segmentation does not authorize outreach or alter existing ownership assignments without the requested scope.

Check before using

Test scripts on a copy and reconcile counts and assignments. Verify data permissions; the source does not document how the underlying public data was collected.

Business activities

  • Find and approach prospects
  • Run sales conversations and proposals

Editorially adapted workflow; not independently tested.

FROM A RECIPE TO YOUR WORKFLOW

Bring the company context together.

This workflow needs reliable inputs before it needs a better prompt. Moat8 Vault brings working information into a readable archive for the AI tools you use.

For this recipe: Permitted agent and transaction data · Desired property segments · Status and ownership rules

Start with one recurring task, agree which sources to use, and review the first result with your team.

Discuss this workflow

What does your team do?

Choose the recurring work you would like to improve.

A field guide, made for work.

Plays is a curated library of anonymized business workflows. Each recipe explains the inputs, steps, tools, and checks you can adapt to your team. These are editorial guides, not independently tested implementations.

When you share a company website, the guide may read a limited number of public pages on that website. Messages and retrieved page text are sent to our AI provider, NVIDIA, to recommend relevant workflows. Share a general description rather than confidential information.

Saved workflows and selected activities stay in this browser. Your chat history and selected company website are kept in this tab and cleared when you reload or start a new chat. The server does not store conversations. Live source monitoring is not enabled.

If you allow analytics, PostHog receives page views and actions such as workflow saves, skill downloads and link clicks. Random browser and session identifiers connect these actions without identifying you by name. Your choice and browser identifier expire after 90 days; sessions restart after 30 minutes of inactivity or 24 hours. We use local storage, not analytics cookies. Messages, company URLs, search text, full referrers and IP addresses are not sent. There are no person profiles or session recordings. You can decline or withdraw in Analytics settings; Do Not Track and Global Privacy Control keep analytics off.

Read the Plays Privacy Notice ↗