apideck-migration
БесплатноБез исполняемых скриптовНе проверенGuide for migrating from direct third-party API integrations to Apideck's unified API. Use when a user wants to replace their existing Salesforce, HubSpot…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Apideck Migration Guide Skill
Overview
This skill helps migrate existing direct third-party API integrations (Salesforce, HubSpot, QuickBooks, Xero, etc.) to Apideck's unified API layer. The benefit is replacing N separate integrations with a single Apideck integration that supports 200+ connectors.
IMPORTANT RULES
- ALWAYS check connector coverage before migrating. Not all operations may be supported through the unified API.
- ALWAYS preserve existing data flows and business logic. Migration should be transparent to end-users.
- USE
pass_throughfor connector-specific fields that don't map to the unified model. - USE custom field mapping in Vault for recurring connector-specific fields.
- NEVER delete the existing integration code until the Apideck migration is verified in production.
- RECOMMEND a phased migration: start with read operations, then writes, then webhooks.
Migration Strategy
Phase 1: Assessment
- Inventory existing integrations — List all third-party APIs currently in use
- Map operations — For each integration, list the CRUD operations and fields used
- Check coverage — Verify each operation is supported via the Apideck Connector API
- Identify gaps — Note operations that need
pass_throughor Proxy API - Plan consumer mapping — Decide how your users/tenants map to Apideck consumer IDs
Phase 2: Connection Setup
- Create Apideck account — Get API key and App ID from the dashboard
- Enable connectors — Enable the connectors you need in the Apideck dashboard
- Integrate Vault — Add Vault JS to your frontend for user-managed connections
- Create consumers — Map your existing users to Apideck consumer IDs
- Authorize connections — Have users re-authorize via Vault (OAuth is handled automatically)
Phase 3: Read Migration (Low Risk)
Replace read operations first since they're non-destructive:
// BEFORE: Direct Salesforce API
const contacts = await salesforce.sobjects.Contact.find({
Email: "[email protected]",
});
// AFTER: Apideck Unified API
const { data } = await apideck.crm.contacts.list({
serviceId: "salesforce",
filter: { email: "[email protected]" },
});
Phase 4: Write Migration
Replace create/update/delete operations:
// BEFORE: Direct HubSpot API
const contact = await hubspot.crm.contacts.basicApi.create({
properties: {
firstname: "John",
lastname: "Doe",
email: "[email protected]",
company: "Acme Corp",
},
});
// AFTER: Apideck Unified API
const { data } = await apideck.crm.contacts.create({
serviceId: "hubspot",
contact: {
first_name: "John",
last_name: "Doe",
emails: [{ email: "[email protected]", type: "primary" }],
company_name: "Acme Corp",
},
});
Phase 5: Webhook Migration
Replace direct webhook handlers with Apideck's unified webhooks:
// BEFORE: Salesforce-specific webhook handler
app.post("/webhooks/salesforce", (req, res) => {
const event = req.body;
if (event.type === "ContactChangeEvent") {
handleContactChange(event);
}
});
// AFTER: Apideck unified webhook handler
app.post("/webhooks/apideck", (req, res) => {
const signature = req.headers["x-apideck-signature"];
if (!verifySignature(req.body, signature, secret)) {
return res.status(401).send("Invalid signature");
}
const { event_type, entity_id, service_id } = req.body.payload;
// Works for ALL connectors, not just Salesforce
if (event_type === "crm.contact.updated") {
handleContactChange(entity_id, service_id);
}
res.status(200).send("OK");
});
Common Migration Patterns
CRM: Salesforce to Apideck
| Salesforce API | Apideck Unified API |
|---|---|
sobjects.Contact.create() |
crm.contacts.create({ serviceId: "salesforce" }) |
sobjects.Account.find() |
crm.companies.list({ serviceId: "salesforce" }) |
sobjects.Opportunity.update() |
crm.opportunities.update({ serviceId: "salesforce" }) |
sobjects.Lead.create() |
crm.leads.create({ serviceId: "salesforce" }) |
sobjects.Task.create() |
crm.activities.create({ serviceId: "salesforce" }) |
Custom fields via custom_sf_field__c |
pass_through: [{ service_id: "salesforce", extend_object: { custom_sf_field__c: "value" } }] |
CRM: HubSpot to Apideck
| HubSpot API | Apideck Unified API |
|---|---|
crm.contacts.basicApi.create() |
crm.contacts.create({ serviceId: "hubspot" }) |
crm.companies.basicApi.getAll() |
crm.companies.list({ serviceId: "hubspot" }) |
crm.deals.basicApi.create() |
crm.opportunities.create({ serviceId: "hubspot" }) |
crm.contacts.searchApi.doSearch() |
crm.contacts.list({ serviceId: "hubspot", filter: { ... } }) |
Accounting: QuickBooks to Apideck
| QuickBooks API | Apideck Unified API |
|---|---|
Invoice.create() |
`accounting.invoices.create({ serviceId: "quick |
Установить apideck-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл apideck-migration?
Guide for migrating from direct third-party API integrations to Apideck's unified API. Use when a user wants to replace their existing Salesforce, HubSpot, QuickBooks, Xero, or other direct API integrations with Apideck, or when consolidating multiple integrations into a single unified layer.
Как установить скилл apideck-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл apideck-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic