mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node interacts with the mittwald mStudio API to update the status of a user post poll. Specifically, it allows setting the status of a poll associated with a user to one of several predefined states such as "completed," "muted," or "ignored." This functionality is useful in scenarios where you want to programmatically manage user engagement or feedback on posts, for example, marking polls as completed after processing responses, muting notifications related to certain polls, or ignoring specific polls based on business logic.

Practical examples include:

  • Automatically marking a user's poll as completed once all responses are collected.
  • Muting polls that are no longer relevant to avoid cluttering user notifications.
  • Ignoring polls that do not meet certain criteria for further processing.

Properties

Name Meaning
User Id The unique identifier of the user whose poll status is being updated.
Status The new status to assign to the user's poll. Options: Completed, Muted, Ignored.

Output

The node outputs JSON data reflecting the result of the status update operation. This typically includes confirmation of the updated status and any relevant metadata returned by the mittwald mStudio API. The exact structure depends on the API response but generally confirms success or failure of the update.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node sends requests to https://api.mittwald.de with JSON content type headers.
  • Proper configuration of the API key credential within n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Invalid or missing User Id: Ensure the User Id provided is correct and exists in the mittwald system.
    • Incorrect API credentials: Verify that the API key credential is valid and has sufficient permissions.
    • Network or connectivity problems: Check internet connection and API endpoint availability.
  • Error messages:

    • Authentication errors usually indicate invalid or expired API keys; reconfigure credentials.
    • Validation errors may occur if required properties like User Id or Status are missing or malformed.
    • API rate limits or server errors should be handled by retrying after some delay or contacting mittwald support.

Links and References

Discussion