padelapp

n8n node for PadelApp logic

Package Information

Downloads: 62 weekly / 90 monthly
Latest Version: 0.6.4
Author: Daniel Zurmühle

Documentation

@zurdai/n8n-nodes-padelapp

This is an n8n custom node for handling Padel App logic, allowing you to manage reservations, courts, analytics, and payments within n8n workflows.

Installation

  1. Community Node Installation:
    In your n8n instance, go to Settings > Community Nodes > Install, and paste the package name: @zurdai/n8n-nodes-padelapp

  2. Manual Installation:

    • Go to your n8n custom directory (e.g. ~/.n8n/custom).
    • clone the repository: git clone https://github.com/Startin-AG/n8n-nodes-padelapp.git
    • Enter the directory: cd n8n-nodes-padelapp
    • Install dependencies: npm install
    • Build the code: npm run build
    • Restart n8n.

Credentials

This node requires Padel App API credentials. You can set up these credentials in n8n:

  1. Navigate to Credentials.
  2. Search for Padel App API.
  3. Enter your API Key or Token (as defined in your implementation).

Resources and Operations

Booking

Manage court reservations.

  • Create: Create a new reservation.
    • Court ID: The ID of the court to book.
    • Start Time: Date and time of the reservation.
    • Duration (Minutes): Length of the booking (default: 60).
    • User ID: ID of the user making the booking.
    • Player Count: Number of players (default: 4).
  • Cancel: Cancel an existing reservation.
    • Reservation ID: The ID of the reservation to cancel.
  • Update: Update reservation details.
    • Reservation ID: The ID of the reservation to update.
    • Update Fields: Fields to update (e.g., Status, Player Count).
  • Get All: Retrieve a list of reservations.
    • Limit: Max number of results to return.

Court

Get information about padel courts.

  • Get All: Retrieve a list of all courts.
  • Status: Check the status of a specific court.
    • Court ID: The ID of the court.

Analytics

Retrieve business insights.

  • Daily Summary: Get revenue and booking stats for a specific date.
    • Date: The date to analyze.

Payment

Manage and check payments.

  • Check Status: Verify the status of a payment.
    • Payment ID: The ID of the payment transaction.

Usage

  1. In n8n, add the Padel App node to your workflow.
  2. Select the desired Resource (e.g., Booking).
  3. Select the Operation (e.g., Create).
  4. Fill in the required parameters (e.g., Court ID, User ID).

Discussion