npm.io
1.0.0 • Published 19h ago

n8n-nodes-trendy-dokanai-user-sync

Licence
MIT
Version
1.0.0
Deps
0
Size
17 kB
Vulns
0
Weekly
0

n8n-nodes-trendy-dokanai-user-sync

An n8n community node for logging into a Trendy DokanAI-compatible Laravel-style application and changing a user's sync/assign status.

Features

  • Login email and password stored in n8n credentials.
  • Dynamic Base URL with n8n expressions.
  • Dynamic User ID with n8n expressions.
  • Active/Inactive sync status.
  • Automatically derives /login, /admin/users, and /admin/users/sync from Base URL.
  • Handles login CSRF token and session cookies.
  • Fetches a fresh CSRF token from the authenticated users page before syncing.
  • Returns status codes, session/cookie indicators, and the sync response.

Example

Base URL:

https://trendy.dokanai.com

User ID:

{{$json.user_id}}

Sync Status:

Inactive

The node automatically calls:

  • POST/GET https://trendy.dokanai.com/login
  • GET https://trendy.dokanai.com/admin/users
  • POST https://trendy.dokanai.com/admin/users/sync

Install from npm

Publish this package to npm, then in self-hosted n8n go to Settings → Community Nodes → Install and enter the npm package name:

n8n-nodes-trendy-dokanai-user-sync

n8n requires community node packages to use the n8n-community-node-package keyword and declare their nodes/credentials in the n8n field of package.json.

Keywords