Party Automation
Party Automation enables automated party assignment at protocol creation based on a set of rules and the creation request's auth token, without requiring manual input or custom logic from external systems.
It reflects the reality that, in many real-world deployments, parties follow predictable patterns — such as always being a specific entity, or needing to meet certain organizational or policy-based requirements.
By embedding this logic directly into the platform configuration, Party Automation ensures that:
- Parties are assigned consistently and reliably.
- Core requirements and constraints are enforced at protocol instantiation when using the API.
- Integrations are simpler and less error-prone.
Why use Party Automation?
When creating a protocol instance through the engine’s APIs, the involved parties must be specified explicitly. Without automation, client applications are responsible for constructing these party objects — often by parsing authentication tokens and injecting known values — which leads to:
- Repeated logic across services or teams.
- Tight coupling between frontend or middleware and internal data models.
- Increased risk of inconsistency or misconfiguration.
- Protocol calls where the initiating user is not represented as a party, often unintentionally.
How does Party Automation help?
Party Automation resolves these issues by enabling declarative, centralized configuration for:
- Static assignment of fixed parties (e.g., known legal entities).
- Dynamic extraction of party attributes from identity tokens (e.g., email, user ID).
- Validation that all required claims are present on the effective party, regardless of how it was created.
This ensures that protocol calls are predictable, secure, and aligned with business constraints — without requiring manual intervention or custom APIs. The goal is to make party management seamless and declarative — so users can focus on business processes rather than implementation details.
To learn more about how to apply party automation in your system, follow these steps.