Integration Definition
Integration Structure
integrations:
# Export to Pohoda
pohodaExport:
type: "export"
format: "xml"
endpoint: "/api/v1/PohodaExport/{entityType}"
entities:
- "Invoice"
- "CashReceipt"
mapping:
Invoice:
"inv:cislo": "{number}"
"inv:datVyst": "{dateInvoiced}"
"inv:datSplat": "{dueDate}"
"inv:text": "{name}"
# Product import from feed
productFeed:
type: "import"
format: "xml"
schedule: "0 2 * * *" # Every day at 02:00
source: "https://supplier.com/feed.xml"
entity: "Product"
mapping:
"name": "/item/name"
"code": "/item/sku"
"price": "/item/price"
"description": "/item/description"
Integration Types
| Type |
Description |
export |
Export data from EspoCRM |
import |
Import data into EspoCRM |
sync |
Two-way synchronization |
webhook |
Receive webhooks |
api |
Call external API |
Integration Attributes
| Attribute |
Description |
type |
Integration type |
format |
Data format (xml, json, csv) |
schedule |
Cron expression for scheduled run |
source |
Data source URL (for import) |
endpoint |
API endpoint (for export) |
entity |
Target entity |
mapping |
Field mapping |
➡️ Continue with JSON Schema.