Wedof icon

Wedof

Facilitez-vous la vie avec Wedof !

Actions169

Utilisateur → Récupérer Mon Utilisateur

AI-generated

Overview

This node operation retrieves the current user's information from the Wedof API. It is useful for scenarios where you need to access details about the authenticated user, such as their profile data or account settings, without specifying a user ID explicitly. For example, it can be used to fetch the logged-in user's data to personalize workflows or verify user identity.

Use Case Examples

  1. Fetching the current user's profile information to display in a dashboard.
  2. Using the user's data to conditionally trigger other workflow actions based on user attributes.

Properties

Name Meaning
since Select the start date for the custom period filter (used when periodCF or periodRF is set to custom). This filters data based on a date range starting from this date.
until Select the end date for the custom period filter (used when periodCF or periodRF is set to custom). This filters data based on a date range ending at this date.
filterOnStateDate Select the date field on which to base the filter. Options vary depending on the period type and include various status change dates and session dates. Defaults to 'stateLastUpdate' or 'lastUpdate' depending on the period context.

Output

JSON

  • id - The unique identifier of the user.
  • name - The full name of the user.
  • email - The email address of the user.
  • roles - The roles assigned to the user within the system.
  • createdAt - The date and time when the user account was created.
  • updatedAt - The date and time when the user account was last updated.

Dependencies

  • An API key credential for Wedof API authentication

Troubleshooting

  • Ensure the API key credential is correctly configured and has permission to access the /users/me endpoint.
  • If the request fails, check network connectivity and API base URL configuration.
  • Verify that the user is authenticated and the token has not expired.

Links

  • Wedof API Documentation - Official API documentation for Wedof, useful for understanding available endpoints and data structures.

Discussion