Skip to content

Note

This flow is self-documenting and should be viewed within Salesforce (Setup > Process Automations > Flows). This document is to support working through a visual flow. The flow commentary in this document was generated with AI assistance.

Overview#

Flow name: MoveData_Commerce_Order_Item_Key Label: [MoveData] Commerce: Order Item - Platform Key Type: Auto-Launched Flow Template API version: 56.0 Status: Active

This flow generates standardised platform keys for order item records by combining platform identifiers and external keys into a consistent format. These keys enable reliable order item matching and prevent duplicates during commerce processing.

Purpose#

The flow provides consistent platform key generation that:

  • Creates unique identifiers for order items across different external commerce platforms
  • Enables reliable order item matching and deduplication during processing

Salesforce fields#

Field API name Field type Purpose in flow
movedata__Platform_Key__c Text Stores generated platform key

Input variables#

Variable Type Required Description
Platform String Yes Platform identifier (e.g., "raisely", "funraisin", "shopify")
Key String Yes External platform's unique identifier for the order item

Output variables#

Variable Type Description
Result String Generated platform key in standardised format

Flow logic#

1. Platform key generation#

The flow implements a straightforward key generation approach using direct string concatenation.

Platform key format#

Platform:Key

Examples:

  • raisely:orderitem_123456
  • funraisin:lineitem_789012
  • shopify:item_ABC123DEF
  • eventbrite:ticket_456789123

2. Key construction#

The flow performs direct string concatenation:

  • Combines the platform identifier with the external key
  • Uses colon (:) as the delimiter for consistency across all MoveData flows
  • No validation or transformation applied to maintain simplicity and reliability

Error handling#

Input validation#

The flow relies on calling processes to ensure:

  • Platform identifier is provided and not null
  • External key is provided and not null
  • Both values contain valid characters for platform key construction

Dependencies#

None

Ask MoveData AI
Ask about setup, configuration, or troubleshooting
How can I help you with MoveData today?