n8n-nodes-cookie-parser

0.1.2 • Public • Published

Banner image

CookieParser Node for n8n

The CookieParser node is a custom node designed for n8n that transforms a string representing cookies into a JSON object.

Features

  • Set the path to retrieve the cookie string (headers.cookie).
  • Accepts a string formatted as a cookie list (name=value;).
  • Outputs a JSON object where each cookie name is a key and each cookie value is the corresponding value.

Installation

Follow the installation guide in the n8n community nodes documentation.

Usage

  1. Add the CookieParser node to your n8n workflow.
  2. Connect the node to your data source.
  3. Configure the node to accept the cookie string as input.
  4. Run the workflow, and the node will output a parsed JSON object.

Example

Input

name1=value1; name2=value2; name3=value3

Output

{
  "name1": "value1",
  "name2": "value2",
  "name3": "value3"
}

Credentials

no authentication required

Resources

More information

Refer to our documentation on creating nodes for detailed information on building your own nodes.

License

MIT

Package Sidebar

Install

npm i n8n-nodes-cookie-parser

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

33.2 kB

Total Files

9

Last publish

Collaborators

  • totocehero