RD Station icon

RD Station

Consume RD Station API

Actions5

Overview

This n8n node integrates with the RD Station API to register a new "Sale" conversion event. It is designed for scenarios where you want to automatically mark an opportunity as won (i.e., a sale) in your RD Station CRM, typically after a successful transaction or deal closure. This automation is useful for sales teams, marketing automation, and CRM synchronization.

Example use cases:

  • Automatically registering a sale in RD Station when a payment is confirmed in your e-commerce platform.
  • Syncing closed deals from another CRM or sales tool into RD Station for unified reporting.
  • Triggering post-sale automations, such as onboarding emails or customer satisfaction surveys.

Properties

The following input properties are relevant for the Sale → New Conversion operation:

Display Name Type Description
Email String Primary email for the lead. Required.
Funnel Name String Name of the funnel to which the contact should be marked as a sale. Required.
Value Number Value of the won opportunity (the sale amount). Optional.

Note: Other properties defined in the node are not applicable to this resource-operation combination.

Output

The output will be a JSON object reflecting the response from the RD Station API after registering the sale event. The structure typically includes:

{
  "event_type": "SALE",
  "event_family": "CDP",
  "payload": {
    "email": "lead@example.com",
    "funnel_name": "Main Sales Funnel",
    "value": 1000
  },
  // ...additional fields as returned by RD Station
}
  • The json field contains the API response.
  • If the API call fails and "Continue On Fail" is enabled, the output will include an error field with the error message and the itemIndex.

Dependencies

  • External Service: Requires access to the RD Station API.
  • Authentication: Needs valid OAuth2 credentials configured in n8n (rdStationOAuth2Api).
  • Environment: No special environment variables required beyond standard n8n credential setup.

Troubleshooting

Common Issues:

  • Missing Required Fields: If "Email" or "Funnel Name" is missing, the node will throw an error indicating required parameters are not provided.
  • Invalid Value: If "Value" is not a number, it will be ignored; ensure to provide a numeric value if needed.
  • Authentication Errors: If OAuth2 credentials are invalid or expired, the node will fail with an authentication error.
  • API Errors: Any errors returned by the RD Station API (e.g., invalid email format, unrecognized funnel name) will be surfaced in the node's error output.

Error Messages:

  • "Missing parameter: email" – Ensure the "Email" property is set.
  • "Missing parameter: funnel_name" – Ensure the "Funnel Name" property is set.
  • "401 Unauthorized" – Check your RD Station OAuth2 credentials.
  • "400 Bad Request" – Review all input values for correctness.

Links and References

Discussion