OneTap icon

OneTap

Manage visitors, check-ins, and attendance with OneTap

Overview

This node integrates with the OneTap API to manage "lists" within an organization. Specifically, the Delete Multiple Lists operation allows users to delete multiple lists at once by specifying their IDs or to delete all lists for the organization.

Common scenarios where this node is beneficial include:

  • Bulk cleanup of outdated or irrelevant lists in an event management or attendance tracking system.
  • Automating list maintenance workflows where multiple lists need to be removed based on certain criteria.
  • Resetting or clearing all lists in an organization before importing new data.

For example, a user might provide a comma-separated string of list IDs to delete several specific lists simultaneously, or choose to delete all lists if they want a complete reset.

Properties

Name Meaning
List IDs Comma-separated list of list IDs to delete.
Delete All Boolean flag indicating whether to delete all lists for the organization (true or false).

Output

The output is a JSON object representing the response from the OneTap API after attempting to delete the specified lists. This typically includes status information about the deletion operation, such as success confirmation or error details.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "success": true,
  "deletedCount": 3,
  "message": "Lists deleted successfully"
}

Or in case of failure:

{
  "success": false,
  "error": "Invalid list ID provided"
}

Dependencies

  • Requires an active connection to the OneTap API via an API key credential configured in n8n.
  • The node uses HTTP requests authenticated against the OneTap service endpoint: https://api-beta.onetapcheckin.com.
  • No additional external dependencies are required.

Troubleshooting

  • Common Issues:

    • Providing invalid or non-existent list IDs may cause the API to return errors.
    • Network connectivity issues can prevent successful API calls.
    • Insufficient permissions or invalid API credentials will result in authentication errors.
  • Error Messages and Resolutions:

    • "Failed to execute lists operation from OneTap API: [error message]": Indicates an issue during the API call. Check the error message for specifics.
    • Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
    • Invalid list IDs: Ensure that the list IDs provided are correct and exist in the organization.
    • If using the "Delete All" option, confirm that you intend to remove all lists, as this action is irreversible.
  • Enable "Continue On Fail" in the node settings to allow processing of subsequent items even if one fails.

Links and References


This summary covers the logic and usage of the OneTap node's "List" resource with the "Delete Multiple" operation based on static code analysis.

Discussion