TOTVS RM icon

TOTVS RM

Interact with TOTVS ERP Linha RM — DataServer REST, native REST APIs, and automatic JWT authentication

Customers / Suppliers → Get Person

AI-generated

Summary

Retrieves a single customer or supplier record from the TOTVS RM database using an optional SQL filter.

Inputs

  • SQL Filter — Standard RM SQL filter. Supports: =, LIKE, AND, OR, IN. Example: NOME LIKE '%JOHN%'.
  • Select Fields — Comma-separated list of fields to return. Leave empty to return all fields.
  • Company Code Override — Leave 0 to use the company code configured in the credential.
  • RM Context — Additional RM context string. Leave empty to use credential defaults.

Output shape

a single record

If the API returns an array, it is wrapped in an array for n8n output.

Examples

Example 1: Retrieve a person by name

Set SQL Filter to 'NOME LIKE ''%SMITH%''' and leave other fields empty.

Example 2: Retrieve only specific fields for a person

Set Select Fields to 'CODIGO,NOME,TELEFONE' and leave SQL Filter empty.

Links

Discussion