Smileback icon

Smileback

Consume Smileback API using the OpenAPI schema

Actions10

  • Review Actions
  • NPS Response Actions
  • Project Survey Actions
  • CSAT Agents Actions
  • CSAT Boards Actions
  • CSAT Companies Actions
  • CSAT Contacts Actions
  • NPS Campaigns Actions
  • Project Surveys Actions

Overview

This node integrates with the Smileback API to synchronize data for various resources, including reviews. Specifically, the "Review" resource with the "Sync" operation allows users to retrieve review records that have been modified since a specified date and time. This is useful for keeping external systems or workflows up-to-date with the latest customer feedback without retrieving all historical data repeatedly.

Common scenarios include:

  • Periodically syncing new or updated customer reviews into a CRM or database.
  • Triggering follow-up actions based on recent review changes.
  • Aggregating recent feedback for reporting or analysis.

Example: A user can configure this node to fetch all reviews modified after last midnight to process only fresh data daily.

Properties

Name Meaning
Last Modified Since Retrieve records modified after this date and time. Accepts a date-time value.

Output

The node outputs an array of items where each item’s json field contains one review record retrieved from the Smileback API. Each review object includes all fields as returned by the API under the /reviews endpoint.

If the resource requested is not supported, the output will contain a single item with a JSON message indicating "Resource not supported" along with the resource name.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential with username, password, client ID, and client secret to authenticate against the Smileback API.
  • The node uses OAuth2 password grant flow to obtain an access token before making requests.
  • The base URL for the API is configurable via credentials.
  • The node depends on n8n's HTTP request helper methods to interact with the Smileback REST API.

Troubleshooting

  • Authentication errors: If the node fails to obtain an access token, verify that the provided API credentials (username, password, client ID, client secret) are correct and have appropriate permissions.
  • Unsupported resource: If you specify a resource other than those listed (e.g., "review"), the node returns a message indicating the resource is not supported.
  • Rate limiting or network issues: The node waits 100ms between paginated requests; if you encounter timeouts or rate limit errors, consider increasing delays or checking API usage limits.
  • Invalid date format: Ensure the "Last Modified Since" property is set to a valid ISO date-time string; otherwise, the API may reject the query parameter.

Links and References

Discussion