Guides and Examples
Customer Lifecycle
Customer Lifecycle APIs
10 min
understanding nue's three tier architecture nue provides a comprehensive solution for managing complex subscription lifecycles, from back office operations to high performance customer portals our architecture recognizes that different use cases demand different performance characteristics and integration patterns why three tiers? back office operations need deep salesforce integration and complex business logic execution system integrations require external api access while maintaining salesforce as the source of truth customer facing portals demand instant response times and unlimited scalability nue addresses each of these needs with purpose built api tiers global methods powerful subscription management directly in salesforce cpq revenue lifecycle apis external access to global methods for system integration commerce apis aws powered performance for self service experiences global methods the foundation powerful subscription management in salesforce nue's global methods are sophisticated apex functions that handle complex subscription operations directly within salesforce they provide enterprise grade capabilities for managing amendments, renewals, co terming, proration, and all the intricate logic required for subscription businesses why global methods are powerful complex business logic handle sophisticated subscription scenarios like mid term amendments, usage based pricing, and multi currency operations deep salesforce integration seamlessly work with your existing salesforce workflows, triggers, and customizations transaction integrity all operations maintain acid compliance within salesforce native performance no network latency for salesforce to salesforce operations best for internal admin operations back office processing salesforce native automations complex subscription amendments requiring human oversight limitations for self service salesforce governor limits restrict throughput (100 queries, 10 seconds cpu time per transaction) synchronous processing can cause timeouts under load not suitable for high volume, concurrent customer interactions learn more about global methods # cpq revenue lifecycle apis bringing global methods to your external systems cpq revenue lifecycle apis are rest endpoints that expose nue's global methods to external systems think of them as a secure gateway that lets your applications call the same powerful subscription logic that runs inside salesforce, from anywhere the power of external access same business logic execute the exact same global methods that your salesforce users rely on system integration connect erps, data warehouses, and custom applications to your subscription operations maintain consistency ensure all systems follow the same business rules and calculations direct salesforce updates changes immediately reflect in salesforce, maintaining it as your source of truth best for erp integrations back office system connections automated billing reconciliation opportunity based workflows important consideration since these apis call global methods internally, they inherit the same salesforce governor limits this makes them perfect for system to system integration but not suitable for high volume, customer facing applications commerce apis breaking free aws powered performance for self service commerce apis represent a fundamental architectural shift instead of calling salesforce directly, these apis run on aws infrastructure with a replicated copy of your nue data model this allows them to deliver the instant response times that modern customer experiences demand how it works replicated architecture nue maintains a synchronized copy of your subscription data on aws millisecond responses queries run against optimized aws databases, not salesforce asynchronous sync changes are queued and synced back to salesforce without blocking the user nue as source of truth the nue object model exists in both aws and salesforce, maintaining consistency breakthrough capabilities unlimited scalability handle thousands of concurrent users without hitting governor limits real time pricing calculate complex purchasing instantly payment processing native integration with stripe with others coming soon self service ready purpose built for customer portals and e commerce experiences best for customer self service portals high volume e commerce sites real time configuration and pricing mobile app backends any customer facing experience requiring instant response feature comparison feature global methods cpq revenue lifecycle apis commerce apis where it runs in salesforce calls salesforce aws infrastructure access location salesforce only external systems external systems performance standard salesforce standard salesforce millisecond response tax integration 🟣 🟣 🟣 multi currency 🟣 🟣 🟣 complex amendments 🟣 🟣 🟣 free of governance limits ⚪ ⚪ 🟣 real time pricing ⚪ ⚪ 🟣 invoice generation ⚪ ⚪ 🟣 self service ready ⚪ ⚪ 🟣 native payment gateway interaction ⚪ ⚪ 🟣 the bottom line global methods give you powerful subscription management capabilities directly in salesforce perfect for your internal teams and complex business logic cpq revenue lifecycle apis extend this power to your external systems while keeping salesforce as the source of truth ideal for integrations and automation commerce apis break free from salesforce limits entirely, running on aws to deliver the performance your customers expect essential for self service experiences each tier serves a specific purpose in your subscription lifecycle management strategy choose based on who will use it (internal vs external vs customers) and the performance requirements of your use case