Ajax icon

Ajax

Consume Ajax API (v.0.1.2)

Actions242

Overview

The node named "Ajax" is designed to interact with the Ajax API, providing a flexible way to perform various operations on multiple resources. Specifically, for the "User" resource and the "Find User" operation, this node allows users to search for user records based on criteria such as login or phone number. This can be useful in scenarios where you need to retrieve user details dynamically within an automation workflow, for example, verifying user existence before proceeding with further actions or fetching user information to personalize communications.

Properties

Name Meaning
Login Optional string to specify the user's login identifier to find a specific user.
Phone Optional string to specify the user's phone number to find a specific user.

Both properties are optional and can be used individually or together to narrow down the search for a user.

Output

The node outputs JSON data representing the user(s) found based on the provided search criteria. The structure of the json output field typically includes user details such as identifiers, contact information, and other relevant user attributes returned by the Ajax API. There is no indication that the node outputs binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the Ajax API.
  • Depends on the external Ajax API service being accessible and properly configured.
  • Uses internal helper classes for HTTP communication, state management, and operation resolution.

Troubleshooting

  • No user found: If the search criteria do not match any user, the output may be empty or contain an error message. Verify that the input values for "Login" or "Phone" are correct.
  • Authentication errors: Ensure that the API key credential is valid and has the necessary permissions.
  • Network issues: Confirm that the node can reach the Ajax API endpoint without firewall or connectivity problems.
  • Invalid parameters: Providing unsupported or malformed input values might cause errors; validate inputs before execution.

Links and References

Discussion