Action Sales
Description
Section titled “Description”The Action Sales module allows connecting to the Action Sales CRM API to get and send data. It uses authentication via API Key and API Secret which are added as URL parameters. It includes automatic retries with exponential backoff for network errors, 5xx errors and rate limiting (429). It supports dynamic variables in the URL and intelligent API error detection (responses with exceptions). It is ideal for synchronizing data with the Action Sales CRM, retrieving client lists, sales, or any resource available in their API.
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Action Sales credentials |
| actionsales_endpoint | text | Yes | API endpoint (appended after the base URL) |
| method | select | Yes | HTTP method: GET or POST |
| dataKey | text | No | Data key for filtering. Can be an object attribute or an array (e.g.: ‘data’ or ‘data[0].id’) |
Credentials
Section titled “Credentials”The credential must contain the fields:
apiKey: Action Sales API KeyapiSecret: Action Sales API Secret
Both values are added as query string parameters in each request: ?ApiKey={apiKey}&ApiSecret={apiSecret}
Output
Section titled “Output”{ "nextModule": "siguiente_modulo", "data": { "clientes": [ { "id": 1, "nombre": "Cliente A" } ] }, "_meta_": { "url": "https://api.actionsales.com.ar/endpoint?ApiKey=...&ApiSecret=...", "data": {} }}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "credentials_id": "cred_actionsales_01", "actionsales_endpoint": "api/clientes/list", "method": "GET"}With dynamic variables
Section titled “With dynamic variables”{ "credentials_id": "cred_actionsales_01", "actionsales_endpoint": "api/ventas/{{fechaInicio}}/{{fechaFin}}", "method": "GET"}API Used
Section titled “API Used”- Base URL:
https://api.actionsales.com.ar - Format:
https://api.actionsales.com.ar/{endpoint}?ApiKey={key}&ApiSecret={secret} - Authentication via ApiKey and ApiSecret in query string
- Supports dynamic variables
{{variable}}in the full URL - Includes automatic retries (up to 3) with exponential backoff for network errors, 5xx and 429
- Default timeout is 5 seconds (configurable via
config.timeout) - User-Agent headers simulating a Chrome browser are sent
- The module detects API errors that come as exceptions (
ClassNamefield withexception) and treats them as errors continueOnError: trueallows the workflow to continue even if the API returns an error- If the input data has content, it is sent as body with Content-Type application/json
- API credentials are sent as URL parameters, not as headers
Related Nodes
Section titled “Related Nodes”- http (generic HTTP requests)
- odooApi (API reading with pagination)