Skip to content

Action Sales

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.

ParameterTypeRequiredDescription
credentials_idcredentialsYesAction Sales credentials
actionsales_endpointtextYesAPI endpoint (appended after the base URL)
methodselectYesHTTP method: GET or POST
dataKeytextNoData key for filtering. Can be an object attribute or an array (e.g.: ‘data’ or ‘data[0].id’)

The credential must contain the fields:

  • apiKey: Action Sales API Key
  • apiSecret: Action Sales API Secret

Both values are added as query string parameters in each request: ?ApiKey={apiKey}&ApiSecret={apiSecret}

{
"nextModule": "siguiente_modulo",
"data": {
"clientes": [
{ "id": 1, "nombre": "Cliente A" }
]
},
"_meta_": {
"url": "https://api.actionsales.com.ar/endpoint?ApiKey=...&ApiSecret=...",
"data": {}
}
}
{
"credentials_id": "cred_actionsales_01",
"actionsales_endpoint": "api/clientes/list",
"method": "GET"
}
{
"credentials_id": "cred_actionsales_01",
"actionsales_endpoint": "api/ventas/{{fechaInicio}}/{{fechaFin}}",
"method": "GET"
}
  • 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 (ClassName field with exception) and treats them as errors
  • continueOnError: true allows 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
  • http (generic HTTP requests)
  • odooApi (API reading with pagination)