Payxe

Realiza uma requisição POST para criar uma tarefa

Overview

This node, named "Payxe," is designed to create a task by making a POST request to an external API endpoint. It authenticates using an email and password provided by the user, then sends task details such as title, description, due date, and time to the API. This node is useful for automating task creation workflows in project management or scheduling systems that integrate with the specified API.

Common scenarios:

  • Automatically creating tasks from form submissions or other triggers.
  • Integrating task creation into larger automation workflows.
  • Scheduling reminders or deadlines based on dynamic input data.

Example:
A user can set up this node to create a new task every time a new customer support ticket is received, specifying the task's title, description, due date, and time.

Properties

Name Meaning
Email The email address used for authentication with the API.
Password The password used for authentication (input is masked).
Título The title of the task to be created.
Descrição The description of the task to be created.
Data De Vencimento The due date of the task (date and time).
Hora The time of the task in HH:MM format.

Output

The node outputs an array of JSON objects, each representing the response from the API after attempting to create a task. The structure of each output item is:

{
  "json": {
    // Response data returned by the API, typically including task creation confirmation or details
  }
}

If an error occurs during the request and the node is configured to continue on failure, the output will contain an error message in the following format:

{
  "json": {
    "error": "Error message describing what went wrong"
  }
}

No binary data is produced by this node.

Dependencies

  • Requires access to the external API at https://business.agenciaebenezer.com.br/api/tasks/task.
  • Needs valid user credentials (email and password) for authentication.
  • Requires internet connectivity from the n8n environment to reach the API endpoint.

Troubleshooting

  • Authentication errors: If the email or password is incorrect, the API will likely reject the request. Verify credentials are correct.
  • Invalid date/time format: Ensure the due date is a valid datetime and the hour is in "HH:MM" format.
  • Network issues: Failure to connect to the API endpoint may cause errors; check network connectivity and API availability.
  • API errors: The API might return errors if required fields are missing or invalid; ensure all required properties are provided.
  • Error messages: Errors thrown include "Erro na requisição: <message>". To resolve, check the error message details and adjust inputs accordingly.
  • If the node is set to continue on failure, errors will be included in the output JSON under the error key instead of stopping execution.

Links and References

Discussion