Skip to Content
IntegrationsAPNField mapping

APN field mapping

This page lists which HubSpot deal value goes to which field of the Partner Central opportunity, and which side owns it. Use it when a value on the deal and in Partner Central do not match, or when you plan which fields your team fills in.

Who owns a field

OwnerMeaning
HubSpotFlowState sends the value from the deal to AWS. A change in AWS never overwrites the deal. If AWS changes a watched field, FlowState adds a note to the deal instead.
AWSFlowState copies the value from AWS to the deal. Do not edit it in HubSpot: the next update from AWS overwrites it.
BothEither side can change the value. If only one side changed it, the other side gets the change. If both sides changed it to different values, see Conflicts & resolution.

Standard HubSpot deal properties

HubSpot propertyPartner Central fieldOwnerNotes
Deal name (dealname)Project.TitleHubSpotRequired.
Close date (closedate)LifeCycle.TargetCloseDateBothMust be in the future for an open opportunity.
Deal stage (dealstage)LifeCycle.StageHubSpotTranslated through your stage mapping. When AWS moves the stage, FlowState adds a note and does not change the deal stage.
Next step (hs_next_step)LifeCycle.NextStepsHubSpotSee Next steps.
Associated contactsCustomer.ContactsHubSpotUp to 10 contacts, with email, name, job title and phone. Sent while the opportunity can still be edited. After submission, AWS keeps the contacts it has.
Deal owner (hubspot_owner_id)OpportunityTeamHubSpotSent once, when FlowState creates the opportunity. A later owner change does not reach AWS.

FlowState deal properties

Provision properties on Settings → Integrations → HubSpot creates these properties in the FlowState APN group.

HubSpot propertyPartner Central fieldOwner
APN Sync with AWS enabled (apn_sync_with_aws_enabled)none. Marks a deal for APN sync.HubSpot
APN Opportunity ID (apn_opportunity_id)The opportunity IDAWS
APN Sync Status (apn_sync_status)none. The FlowState sync status.FlowState
APN Review Status (apn_review_status)LifeCycle.ReviewStatusAWS
APN Lifecycle Stage (apn_lifecycle_stage)LifeCycle.StageBoth. A copy of the current stage.
APN Closed Lost Reason (apn_closed_lost_reason)LifeCycle.ClosedLostReasonHubSpot
APN Business Problem (apn_business_problem)Project.CustomerBusinessProblemHubSpot
APN Postal Code (apn_postal_code)Customer.Account.Address.PostalCodeBoth
APN AWS Account ID (apn_aws_account_id)Customer.Account.AwsAccountIdHubSpot. AWS accepts it on an approved opportunity only when the stage moves to Launched.
APN MRR (apn_mrr)ExpectedCustomerSpend.Amount (monthly)Both. See Monthly spend.
apn_invitation_idnone. The ID of an AWS co-sell invitation.AWS. Set on deals that FlowState created from an invitation.

Fields on the FlowState card

Sellers fill in these fields on the Prepare the Deal for APN tab of the FlowState card. They are stored in FlowState, not as HubSpot properties.

Card fieldPartner Central fieldNotes
Partner need from AWSPrimaryNeedsFromAwsAt least one value is required to submit.
Use caseProject.CustomerUseCaseWatched.
Delivery modelProject.DeliveryModelsWatched.
Sales activityProject.SalesActivitiesWatched.
State or regionCustomer.Account.Address.StateOrRegion
IndustryCustomer.Account.IndustryWatched. Always shown. FlowState fills it in when it can: from the deal, from the associated company when that value is a valid AWS industry, or with an AI suggestion. You can change it.
CountryCustomer.Account.Address.CountryCodeRead-only. Taken from the associated HubSpot company.
CurrencyExpectedCustomerSpend.CurrencyCode
Expected monthly spendExpectedCustomerSpend.AmountThe same value as the APN MRR property. See Monthly spend.
Postal codeCustomer.Account.Address.PostalCodeRead-only on the card. Edit the APN Postal Code property.
WebsiteCustomer.Account.WebsiteUrlRead-only. Taken from the associated HubSpot company.
Submission typeInvolvement type and visibility of the submissionUsed when the opportunity is submitted.

Except for the monthly spend, all card fields are owned by HubSpot. When FlowState creates a deal from an AWS opportunity, it fills these fields from the opportunity.

Monthly spend

AWS wants the expected monthly spend. If APN MRR is empty on the deal, FlowState calculates it from the HubSpot Amount. You choose how, under HubSpot to APN Revenue on Settings → Integrations → APN:

SettingMonthly spend sent to AWS
Not setAmount divided by the deal’s contract term (12 months when there is none).
HS Amount is APN MRRAmount, unchanged.
HS Amount is yearly revenueAmount divided by 12.
Enter your own dividerAmount divided by your number.

AWS never changes the HubSpot Amount. When AWS changes the expected spend, FlowState updates APN MRR instead.

Next steps

DirectionWhere you see itPartner Central field
HubSpot to AWSThe deal’s Next step propertyLifeCycle.NextSteps
AWS to HubSpotA note on the deal timeline, and the Next steps tab of the cardAWS’s own next step

FlowState sends your next step only when it changed. AWS allows at most 255 characters. FlowState does not shorten a longer text: it does not send it, and adds a note that says how much to cut. If AWS has the opportunity locked for review, FlowState sends the next step when the lock ends.

AWS-side changes on watched fields

AWS sometimes changes an opportunity after it exists. For these fields, each change creates one AWS updated this opportunity note on the deal:

FieldWritten to the deal?
Close dateYes, unless you also changed it (see Conflicts)
APN MRRYes, unless you also changed it
Postal codeYes, unless you also changed it
AWS review commentsNo, note only
Use case, sales activity, delivery model, industryNo, note only. You decide whether to copy the value.

The note has two groups: Updated on your deal (no action needed) and Left as AWS’s own data (copy the value yourself if you want it). FlowState writes a note only when a value really changed, not the first time it reads a field.

Review status and stage changes have their own notes.

Deal stage mapping

Partner Central has seven stages: Prospect, Qualified, Technical Validation, Business Validation, Committed, Launched and Closed Lost. You map each stage of each HubSpot pipeline to one of them. FlowState does not map anything by itself.

Important

A deal in a stage that is not mapped does not sync. The card shows the error STAGE_UNMAPPED. After you map the stage, the deal syncs at its next change.

To map stages:

  1. Go to Settings → Integrations → APN and click Stage mapping.
  2. On the Stage Mapping page, choose a Partner Central stage for each HubSpot stage. Each pipeline shows how many of its stages are mapped.
  3. Click Save mapping.

Over MCP, use get_apn_stage_mapping, set_apn_stage_mapping and clear_apn_stage_mapping.

Example for the default HubSpot sales pipeline:

HubSpot stagePartner Central stage
Appointment scheduledProspect
Qualified to buyQualified
Presentation scheduledTechnical Validation
Decision maker bought-inBusiness Validation
Contract sentCommitted
Closed wonLaunched
Closed lostClosed Lost