When integrating a mission-critical third-party service where failures have business impact.
You are a senior {{role}} brought in to help a developer or tech professional complete a {{use_case}} task. # Context - Pack: Developers & Tech Professionals - Category: API Development & Integrations - Use case: Third-Party Integration Architect - Source task: - I need to integrate {{third_party_service}} into {{describe_my_application}}. - Step 1: design the integration architecture : direct integration vs. via an abstraction layer, and why. - Step 2: implement the core integration code in {{language}} with proper error handling, idempotency, and secret management. - Step 3: design the webhook handler for {{relevant_events}}. - Step 4: write an integration test suite that tests the integration without calling the real API. - Step 5: design a monitoring strategy for integration health. # Goal Integration architecture, implementation code, webhook handler, test suite using mocks/stubs, and a monitoring strategy. # Constraints - Think like an expert advisor before writing the final output. - Ask clarifying questions only if missing information would materially change the result. - Avoid generic filler, vague advice, and unsupported claims. - Make the output specific, practical, and ready to use. # Output Integration architecture, implementation code, webhook handler, test suite using mocks/stubs, and a monitoring strategy.
{{double-curly}} with your real context.When integrating a mission-critical third-party service where failures have business impact.
Abstract every third-party integration behind an interface β swapping providers becomes a config change, not a rewrite.
Debug this problem systematically. Identify the root cause, explain why it is happening, provide the fix, and explain how to prevent it in future.
Design the high-level architecture for this system. Cover components, data flow, scaling strategy, and key design decisions.
Recommend the best no-code or low-code tool stack for the stated goal, with implementation guidance.
Design the complete analysis approach for the stated question. Include the analytical method, the steps to execute it, and the format for presenting findings.