Payload CMS

Interact with Payload CMS collections and globals

Overview

This node interacts with the Payload CMS Auth resource to perform user authentication-related operations such as verifying user accounts. Specifically, the 'Verify' operation allows verification of a user account using a verification token. This is useful in scenarios where you need to confirm a user's email or activate their account after registration. For example, after a user signs up, you can use this node to verify their account by providing the verification token sent to their email.

Use Case Examples

  1. Verifying a user account by providing the verification token received via email to activate the account.
  2. Automating user account verification as part of a user onboarding workflow.

Properties

Name Meaning
Auth Collection The auth-enabled collection to operate on, e.g., users.
Token The verification token used to verify the user account.
Additional Options Optional parameters to customize the request such as depth of relationship population, pagination, sorting, filtering, selecting fields, and locale.

Output

JSON

  • json - The response data from the Payload CMS API after verifying the user account.

Dependencies

  • Requires Payload CMS API credentials including base URL and API prefix.

Troubleshooting

  • Authentication failures due to invalid or expired tokens. Ensure the token is correct and has not expired.
  • Network or connectivity issues with the Payload CMS instance. Verify the base URL and API prefix are correct and the server is reachable.
  • Invalid JSON format in 'Where' clause or other JSON inputs. Ensure JSON inputs are properly formatted.
  • Errors from the Payload CMS API such as unauthorized access or resource not found. Check credentials and resource names.

Links

Discussion