1import{u as t,j as e}from"./entry.client-CnlF6sly.js";const h="Audience: first-time users configuring the HTTP Request Node to call the Anonymator API.",l=[{depth:1,value:"Text anonymization Guide",id:"text-anonymization-guide",children:[{depth:2,value:"1ï¸â£ Overview",id:"1ï¸â£-overview"},{depth:2,value:"2ï¸â£ Add the HTTP Request Node",id:"2ï¸â£-add-the-http-request-node"},{depth:2,value:"3ï¸â£ Configure the Endpoint URL and Method",id:"3ï¸â£-configure-the-endpoint-url-and-method"},{depth:2,value:"4ï¸â£ Choose the Authentication Method",id:"4ï¸â£-choose-the-authentication-method"},{depth:2,value:"5ï¸â£ Create the Bearer Credential",id:"5ï¸â£-create-the-bearer-credential"},{depth:2,value:"6ï¸â£ Enable the Request Body",id:"6ï¸â£-enable-the-request-body"},{depth:2,value:"7ï¸â£ Build the JSON Body",id:"7ï¸â£-build-the-json-body"},{depth:2,value:"8ï¸â£ Execute & Verify",id:"8ï¸â£-execute--verify"}]}],d={lastModifiedTime:"2025-11-19T10:41:40.145Z"},a="pages/integrations/n8n/n8n-anonymize.mdx";function s(i){const n={a:"a",br:"br",code:"code",em:"em",h1:"h1",h2:"h2",hr:"hr",img:"img",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.h1,{id:"text-anonymization-guide",children:"Text anonymization Guide"}),` 2`,e.jsx(n.p,{children:e.jsx(n.em,{children:"Audience: first-time users configuring the HTTP Request Node to call the Anonymator API."})}),` 3`,e.jsx(n.hr,{}),` 4`,e.jsx(n.h2,{id:"1ï¸â£-overview",children:"1ï¸â£ Overview"}),` 5`,e.jsxs(n.p,{children:["This guide walks you through how to configure the ",e.jsx(n.strong,{children:"HTTP Request Node"})," in n8n to send a POST request to the ",e.jsx(n.strong,{children:"Anonymator API"}),"."]}),` 6`,e.jsx(n.p,{children:"Youâll learn how to:"}),` 7`,e.jsxs(n.ul,{children:[` 8`,e.jsx(n.li,{children:"Add the HTTP Request Node to the canvas"}),` 9`,e.jsx(n.li,{children:"Set the endpoint URL"}),` 10`,e.jsx(n.li,{children:"Configure authentication"}),` 11`,e.jsx(n.li,{children:"Create and save a Bearer credential"}),` 12`,e.jsx(n.li,{children:"Define the JSON request body"}),` 13`,e.jsx(n.li,{children:"Execute the request and verify results"}),` 14`]}),` 15`,e.jsx(n.hr,{}),` 16`,e.jsx(n.h2,{id:"2ï¸â£-add-the-http-request-node",children:"2ï¸â£ Add the HTTP Request Node"}),` 17`,e.jsxs(n.p,{children:["From the nodes panel, drag ",e.jsx(n.strong,{children:"HTTP Request"})," into your workflow canvas.",e.jsx(n.br,{}),` 18`,"Click the node to open its configuration options."]}),` 19`,e.jsx(n.p,{children:e.jsx(n.img,{src:"/anonymize/n8n/Step1.png",alt:"Step 1 â Add HTTP Request Node"})}),` 20`,e.jsx(n.hr,{}),` 21`,e.jsx(n.h2,{id:"3ï¸â£-configure-the-endpoint-url-and-method",children:"3ï¸â£ Configure the Endpoint URL and Method"}),` 22`,e.jsx(n.p,{children:"Set:"}),` 23`,e.jsxs(n.ul,{children:[` 24`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"HTTP Method:"})," ",e.jsx(n.code,{inline:"true",children:"POST"})]}),` 25`,e.jsx(n.li,{children:e.jsxs(n.strong,{children:["URL:",e.jsx(n.a,{href:"https://anonymator.app/api/anonymize",children:"https://anonymator.app/api/anonymize"})]})}),` 26`]}),` 27`,e.jsx(n.p,{children:e.jsx(n.img,{src:"/anonymize/n8n/Picture2.png",alt:"Step 2 â Add HTTP Request Node"})}),` 28`,e.jsx(n.hr,{}),` 29`,e.jsx(n.h2,{id:"4ï¸â£-choose-the-authentication-method",children:"4ï¸â£ Choose the Authentication Method"}),` 30`,e.jsxs(n.p,{children:["Under ",e.jsx(n.strong,{children:"Authentication"}),", choose:"]}),` 31`,e.jsxs(n.ul,{children:[` 32`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Authentication Method:"})," ",e.jsx(n.code,{inline:"true",children:"Generic Credential Type"})]}),` 33`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Generic Auth Type:"})," ",e.jsx(n.code,{inline:"true",children:"Bearer Auth"})]}),` 34`]}),` 35`,e.jsxs(n.p,{children:["Then click ",e.jsx(n.strong,{children:"+ Create new credential"})," to generate a new Bearer token credential."]}),` 36`,e.jsx(n.p,{children:e.jsx(n.img,{src:"/anonymize/n8n/Picture3.png",alt:"Step 4 â Authentication Method"})}),` 37`,e.jsx(n.hr,{}),` 38`,e.jsx(n.h2,{id:"5ï¸â£-create-the-bearer-credential",children:"5ï¸â£ Create the Bearer Credential"}),` 39`,e.jsx(n.p,{children:"Fill out the credential form as follows:"}),` 40`,e.jsxs(n.ul,{children:[` 41`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Bearer token:"})," your API key from the Anonymator user portal"]}),` 42`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Allowed HTTP Request Domains:"}
42)," ",e.jsx(n.code,{inline:"true",children:"All"})]}),` 43`,e.jsxs(n.li,{children:[e.jsx(n.em,{children:"(Optional)"})," Rename the credential before saving"]}),` 44`]}),` 45`,e.jsxs(n.p,{children:["Once filled out, click ",e.jsx(n.strong,{children:"Save"}),".",e.jsx(n.br,{}),` 46`,"Your new credential will now appear in the dropdown. Select it."]}),` 47`,e.jsx(n.p,{children:e.jsx(n.img,{src:"/anonymize/n8n/Picture4.png",alt:"Step 5 â Create Credential"})}),` 48`,e.jsx(n.hr,{}),` 49`,e.jsx(n.h2,{id:"6ï¸â£-enable-the-request-body",children:"6ï¸â£ Enable the Request Body"}),` 50`,e.jsxs(n.p,{children:["Scroll down to the ",e.jsx(n.strong,{children:"Body Parameters"})," section.",e.jsx(n.br,{}),` 51`,"Enable ",e.jsx(n.strong,{children:"Send Body"}),".",e.jsx(n.br,{}),` 52`,"Set ",e.jsx(n.strong,{children:"Body Content Type"})," to ",e.jsx(n.strong,{children:"JSON"}),"."]}),` 53`,e.jsx(n.p,{children:e.jsx(n.img,{src:"/anonymize/n8n/Picture5.png",alt:"Step 6 â Enable Body + JSON"})}),` 54`,e.jsx(n.hr,{}),` 55`,e.jsx(n.h2,{id:"7ï¸â£-build-the-json-body",children:"7ï¸â£ Build the JSON Body"}),` 56`,e.jsxs(n.p,{children:["In ",e.jsx(n.strong,{children:"Specify Body"}),", choose ",e.jsx(n.strong,{children:"Using JSON"}),".",e.jsx(n.br,{}),` 57`,"Build a JSON array with the variables you want to anonymize.",e.jsx(n.br,{}),` 58`,"For example, to anonymize the chat input variable:"]}),` 59`,e.jsx(e.Fragment,{children:e.jsx(n.pre,{children:e.jsxs(n.code,{className:"language-json shiki shiki-themes github-light github-dark",inline:"false",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabIndex:"0",children:[e.jsx(n.span,{className:"line",children:e.jsx(n.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"{"})}),` 60`,e.jsxs(n.span,{className:"line",children:[e.jsx(n.span,{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},children:' "strings"'}),e.jsx(n.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:": ["}),e.jsx(n.span,{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},children:'"{{ $json.chatInput }}"'}),e.jsx(n.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"]"})]}),` 61`,e.jsx(n.span,{className:"line",children:e.jsx(n.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"}"})})]})})}),` 62`,e.jsx(n.p,{children:e.jsx(n.img,{src:"/anonymize/n8n/Picture6.png",alt:"Step 7 â Build Json Body"})}),` 63`,e.jsx(n.hr,{}),` 64`,e.jsx(n.h2,{id:"8ï¸â£-execute--verify",children:"8ï¸â£ Execute & Verify"}),` 65`,e.jsxs(n.p,{children:["Click ",e.jsx(n.strong,{children:"Execute Node"})," to run the request.",e.jsx(n.br,{}),`
66`,"A successful response returns an object containing the processed results."]}),` 67`,e.jsx(e.Fragment,{children:e.jsx(n.pre,{children:e.jsxs(n.code,{className:"language-json shiki shiki-themes github-light github-dark",inline:"false",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabIndex:"0",children:[e.jsx(n.span,{className:"line",children:e.jsx(n.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"{"})}),` 68`,e.jsxs(n.span,{className:"line",children:[e.jsx(n.span,{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},children:' "result"'}),e.jsx(n.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:": ["})]}),` 69`,e.jsx(n.span,{className:"line",children:e.jsx(n.span,{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},children:' "Your anonymized text output will appear here."'})}),` 70`,e.jsx(n.span,{className:"line",children:e.jsx(n.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:" ]"})}),` 71`,e.jsx(n.span,{className:"line",children:e.jsx(n.span,{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},children:"}"})})]})})}),` 72`,e.jsx(n.p,{children:e.jsx(n.img,{src:"/anonymize/Picture7.png",alt:"Step 8 â Execute & Verify"})})]})}function o(i={}){const{wrapper:n}={...t(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(s,{...i})}):s(i)}export{a as __filepath,o as default,h as excerpt,d as frontmatter,l as tableOfContents}; 73//# sourceMappingURL=n8n-anonymize-D5yCEzzU.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.