Skip to content

ev4 CMS

The ev4 CMS module allows interacting with the ev4 content management system (CMS). It supports GET operations to retrieve posts and POST to create or update content, including image uploads in base64 format. It uses basic authentication and forces HTTPS connections. It is ideal for synchronizing content between the workflow and an ev4-based CMS, automatically publishing articles, or extracting information from existing posts.

ParameterTypeRequiredDescription
urltextYesCMS endpoint URL (supports {{variable}} variables)
methodselectYesHTTP method: GET or POST
credentials_idcredentialsNoCMS access credentials
sslVerifybooleanNoVerify SSL certificate (default: false)
dataKeytextNoData key for filtering

The credential must contain the fields:

  • username: Username for basic authentication
  • password: Password for basic authentication

The module generates an Authorization: Basic <base64> header with these credentials.

{
"nextModule": "siguiente_modulo",
"data": {
"id": "123",
"titulo": "Post de ejemplo"
},
"_meta_": {
"status": 200,
"headers": {}
}
}
{
"url": "https://miempresa.ev4erp.net/api/cms/posts",
"method": "GET",
"credentials_id": "cred_ev4_01"
}
  • ev4 CMS endpoint configured in the url field
  • HTTP URLs are automatically converted to HTTPS
  • Supports dynamic variables {{variable}} in the URL
  • http:// URLs are automatically converted to https://
  • SSL verification is disabled by default (rejectUnauthorized: false)
  • In POST mode, the module sends the workflow data along with metadata such as _action, _typeFiles, _categorias and _files
  • Supports file uploads as base64-encoded images
  • Files can be configured via config.files (array) or data.file (direct path)
  • The response is parsed as JSON; if it is not valid JSON, it is treated as the created resource ID
  • ev4cmsUpload (file upload to ev4 CMS)
  • ev4Client (ev4 ERP data access)