create_sf_integration_artifacts
Create all Salesforce artifacts for a bidirectional integration: Named Credential, Apex Queueable class, Apex Trigger, inbound REST class, and deployment instructions.
Instructions
Generate all Salesforce-side code and configuration for a bidirectional integration:
Named Credential XML (paste into Metadata API or create in Setup UI)
Apex Queueable callout class (async HTTP call to the partner platform)
Apex Trigger (fires on insert/update, enqueues the callout class)
Inbound Apex REST class (receives sync calls from the partner platform)
Step-by-step deployment instructions
Note: Apex code is GENERATED and returned as strings — the user must deploy it via Developer Console, VS Code + SFDX, or Metadata API. Requires the integration plan from design_integration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan from design_integration | |
| target_url | No | Base URL of the partner platform (used in Named Credential) |