Feishu Node icon

Feishu Node

Feishu Node

Overview

This node is designed to interact with Feishu's calendar system, specifically to delete a shared calendar. It is useful in scenarios where you need to programmatically remove a calendar that has been previously shared within your organization or team. For example, if a project concludes and its associated shared calendar is no longer needed, this node can automate its removal from Feishu.

Practical Example:

  • Automatically clean up obsolete shared calendars at the end of each month.
  • Remove a calendar when a user leaves the organization.

Properties

Name Type Meaning
日历 ID String The unique identifier of the calendar to be deleted. You can obtain this via other APIs such as querying main calendar info, listing calendars, or searching for calendars.

Output

The output will be an array of JSON objects. On success, the output typically contains confirmation of deletion (often an empty object or a status message).
On failure (if "Continue On Fail" is enabled), the output will include an error field with the error message, and possibly additional error details if available.

Example output on error:

{
  "error": "Calendar not found"
}

Dependencies

  • Feishu API Access: Requires valid Feishu API credentials (feishuCredentialsApi) configured in n8n.
  • n8n Configuration: Ensure the node is properly authenticated and has permission to manage calendars.

Troubleshooting

  • Common Issues:

    • Invalid Calendar ID: If the provided 日历 ID does not exist or is incorrect, the node will return an error indicating the calendar was not found.
    • Insufficient Permissions: If the API credentials do not have rights to delete the specified calendar, an authorization error will occur.
    • API Connectivity Issues: Network or service outages may result in connection errors.
  • Error Messages:

    • "未实现方法: calendar.calendar:delete": Indicates the operation is not implemented—check if the resource and operation names are correct.
    • "Calendar not found": The specified calendar does not exist; verify the 日历 ID.
    • Authorization errors: Ensure your credentials are valid and have the necessary permissions.

Links and References

Discussion