n8n-nodes-cookie-parser
v0.1.2
Published
Parses a cookie string into an object
Downloads
6
Maintainers
Readme
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
- Add the
CookieParser
node to your n8n workflow. - Connect the node to your data source.
- Configure the node to accept the cookie string as input.
- 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
- n8n community nodes documentation
- Link to app/service documentation.
More information
Refer to our documentation on creating nodes for detailed information on building your own nodes.