Adobe Analytics icon

Adobe Analytics

Use the Adobe Analytics API

Overview

This node integrates with the Adobe Analytics API to retrieve and manage user-related data. Specifically, the "User" resource with the "Get Current User" operation fetches details about the currently authenticated user within the Adobe Analytics environment. This is useful for workflows that need to personalize actions or reports based on the current user's profile or permissions.

Practical examples include:

  • Automatically retrieving the current user's information to customize report generation.
  • Using the current user’s details to audit or log user-specific activities.
  • Integrating user context into multi-step automation flows involving Adobe Analytics data.

Properties

Name Meaning
Global Company ID The unique identifier of the company in Adobe Analytics context. Required for most operations except "Discover Me".
Query Parameters A collection of optional parameters to filter or modify the request. Includes many options such as: Approved (boolean), Classifiable (boolean), Component ID(s) (string), Dimension (string), Date range filters, Limit (number), Locale (string), Pagination (boolean), Sort Direction (ASC/DESC), and many others. These parameters allow fine-tuning of the data returned by various API endpoints but are generally not used for the "Get Current User" operation.

For the "Get Current User" operation specifically, only the Global Company ID is required.

Output

The output JSON contains the detailed information about the current user as returned by the Adobe Analytics API endpoint /users/me. This typically includes user attributes such as:

  • User ID
  • Login name
  • Email address
  • Roles and permissions
  • Company affiliation
  • Other metadata related to the user profile

The node returns this data as a JSON object in the json output field.

No binary data output is involved in this operation.

Dependencies

  • Requires an Adobe Analytics API credential with client ID, client secret, and scope configured in n8n.
  • The node obtains an OAuth2 access token from Adobe's IMS token service before making API calls.
  • Network access to https://ims-na1.adobelogin.com/ims/token/v3 for authentication and https://analytics.adobe.io/api/{globalCompanyId}/users/me for fetching user data.

Troubleshooting

  • Missing Credentials Error: If the Adobe Analytics API credentials are not set or incomplete, the node will throw an error indicating missing credentials. Ensure the API key credential is properly configured.
  • Access Token Retrieval Failure: If the node cannot obtain an access token, it will fail with a message "Failed to retrieve access token." Check client ID, client secret, and scope values.
  • Invalid Global Company ID: The Global Company ID must be valid and associated with the authenticated user; otherwise, the API call will fail.
  • API Errors: Any errors returned by the Adobe Analytics API will be wrapped and reported with the prefix "Error calling Adobe Analytics API:" followed by the specific message.
  • Empty or Unexpected Response: If the API returns no content or unexpected data, verify the API endpoint and parameters.

Links and References

Discussion