Actions5
- Organização Actions
Overview
This node integrates with the RD Station CRM to manage organizations. Specifically, the "Listar" (List) operation under the "Organização" (Organization) resource retrieves a paginated list of organizations from the CRM system. It supports filtering, sorting, and searching by various criteria such as page number, limit per page, order field, direction, organization segment ID, user ID, and name query.
This node is useful in scenarios where you want to synchronize or analyze organizational data stored in RD Station CRM, automate reporting, or trigger workflows based on organization attributes. For example, you could use it to fetch all organizations managed by a specific user or belonging to a particular segment, then process or export that data further.
Properties
| Name | Meaning |
|---|---|
| Página | Page number of the listing. Default is 1. |
| Limite | Maximum number of organizations returned per request. Default is 20, maximum is 200. |
| Ordenar Por | Field used for sorting the results. Default is "name". |
| Direção | Sort direction: "asc" for ascending or "desc" for descending. Default is "asc". |
| Busca | Search query string to filter organizations by name. |
| ID do Segmento | Filter organizations by their segment ID. |
| ID do Usuário | Filter organizations by the responsible user's ID. |
Output
The output is a JSON array where each item corresponds to an organization retrieved from RD Station CRM. The structure matches the API response for organizations, typically including fields like organization ID, name, segment ID, website, email, address, phones, custom fields, and other metadata.
No binary data is output by this operation.
Example snippet of output JSON structure:
{
"id": "12345",
"name": "Example Organization",
"organization_segment_id": "segment_001",
"website": "https://example.org",
"email": "contact@example.org",
"address": "123 Example St",
"phones": [
{
"phone": "+5511999999999",
"type": "work"
}
],
"organization_custom_fields": [
{
"custom_field_id": "field_01",
"value": "Custom Value"
}
]
}
Dependencies
- Requires an API key credential for RD Station CRM configured in n8n.
- Uses the RD Station CRM REST API endpoint at
https://crm.rdstation.com/api/v1. - The node uses authenticated HTTP requests to interact with the CRM.
Troubleshooting
- Missing or invalid API credentials: Ensure the RD Station CRM API key is correctly set up in n8n credentials.
- Invalid pagination parameters: The page number should be >= 1; limit should not exceed 200.
- Empty or malformed filters: If filters are incorrectly specified, the API may return errors or empty results.
- API rate limits or downtime: The RD Station CRM API might throttle requests or be temporarily unavailable; handle errors accordingly.
- Error message "ID da organização é obrigatório!": This error occurs if an operation requiring an organization ID is called without providing it. For the List operation, this does not apply but is relevant for others.