jenna-mcp icon

jenna-mcp

Universal node generated from OpenAPI - satu node memuat semua endpoint

Actions60

MCP Server post mcp

AI-generated

Overview

This node acts as a universal API client for the JennaMcp service, supporting multiple operations related to complaint management, service requests, user management, and configuration. It dynamically constructs HTTP requests based on the selected operation and input parameters, sending them to the configured JennaMcp API endpoint. This node is useful for integrating various JennaMcp API endpoints into workflows, such as creating complaints, updating statuses, uploading files, managing categories, and more.

Use Case Examples

  1. Creating a new complaint with details and location.
  2. Updating the status of an existing complaint.
  3. Uploading a file related to a complaint.
  4. Fetching a list of complaint categories.

Properties

Name Meaning
operation Specifies the API operation to perform, such as creating a complaint, updating status, or fetching categories. Determines the endpoint and HTTP method used.
body_name Name field for various create or update operations, e.g., category name, user name.
body_id ID field for identifying resources in update or delete operations.
body_judulPengaduan Short title of a complaint.
body_detailPengaduan Detailed explanation of a complaint.
body_lokasi Location address or point of a complaint.
body_namaGambar Name of the uploaded image file (optional).
body_kategoriId ID or name of the complaint category.
body_wargaId Unique ID of the citizen reporting.
body_noTelepon Phone number of the reporting citizen.
body_status Status field for updating complaint or service status.
body_keterangan Description or notes related to status update.
body_idUser User ID related to status update.
query_take Pagination parameter to specify number of items to take.
query_page Pagination parameter to specify page number.
query_search Search query parameter.
query_phone Phone number filter parameter.
query_status Status filter parameter.
query_fileName File name parameter for fetching images.

Output

JSON

  • ``
    • error - Indicates if the response contains an error
    • message - Error or response message
    • status - HTTP status code of the response
    • data - Data returned from the API call

Dependencies

  • An API key credential for authentication to JennaMcp API
  • Base URL configuration for the JennaMcp API

Troubleshooting

  • Error 'Base URL tidak ditemukan' indicates the base URL credential is missing or empty. Ensure the credential is configured correctly.
  • Error 'Token tidak ditemukan' indicates the API token is missing or empty. Verify the token is set in the credentials.
  • Unknown operation error occurs if an unsupported operation is selected. Confirm the operation name is valid and supported by the node.
  • API request failures may return error messages with HTTP status and response data. Check network connectivity and API endpoint availability.

Discussion