create_sn_integration_artifacts
Creates all required ServiceNow artifacts for a bidirectional integration: correlation table, retry table, sync flags, REST message, business rule, scripted API, UI action, and client script.
Instructions
Create all ServiceNow-side artifacts for a bidirectional integration:
Correlation table (cross-platform ID tracking)
Retry/error table (dead-letter queue for failed syncs)
Sync-in-progress flag field (loop prevention)
sys_properties entry (field mapping config)
Outbound REST Message + HTTP method (for SN→external calls)
Business Rule (fires on record change, calls outbound REST)
Scripted REST API + POST operation (inbound endpoint for external→SN)
UI Action "Sync Now" button
Client Script (shows sync status on form)
Requires the integration plan from design_integration.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plan": "<plan>"
},
"name": "create_sn_integration_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan object returned by design_integration | |
| target_url | No | Base URL of the target platform API (e.g. https://your-domain.atlassian.net) | |
| target_api_key | No | API key or token for the target platform (stored in Named Credentials later) |