n8n +
FreeCustom.Email
Use n8n's Execute Command nodes to chain fce CLI commands into full visual workflows — inbox creation, OTP extraction, email watching, and more.
- Works with self-hosted and cloud n8n
- fce login once — keys stored in keychain
- Chain commands with n8n data flow
- Full OTP output: code, from, subj, time
- No native connector needed — HTTP Request works too
Execute Command
fce inbox add random
→ dev-fy8x@ditcloud.info
HTTP Request
POST /signup {email}
→ 200 OK — email sent
Execute Command
fce otp dev-fy8x@ditcloud.info
→ OTP · 212342
HTTP Request
POST /verify {otp: 212342}
→ 200 OK — verified
Setup in 4 steps
01
Install fce & login
The fce CLI is the engine. Install it on the machine running n8n, then authenticate once with fce login.
# Install
curl -fsSL freecustom.email/install.sh | sh
# Login — opens browser, saves key to keychain
fce login
# Confirm
fce status02
Add an Execute Command node
In n8n, add an Execute Command node. Point it at the fce CLI. In headless/Docker n8n, set FCE_API_KEY as an n8n credential env var.
# n8n Execute Command node — command field:
fce inbox add random
# Returns: inbox@domain.info
# Pipe to next node via {{ $json.stdout }}03
Chain fce commands as nodes
Each fce command becomes its own Execute Command node. Chain them with n8n's data flow — stdout of one feeds the next.
# Node 1: Create inbox
fce inbox add random
# Node 2: Trigger your app (HTTP Request node)
# POST to https://myapp.com/signup
# body: { email: "{{ $json.stdout }}" }
# Node 3: Extract OTP (Startup plan+)
fce otp {{ $node["Create Inbox"].json.stdout }}04
Watch in real time with fce watch
For event-driven flows, run fce watch in a long-running Execute Command node and parse the stdout stream with an n8n Code node.
# Pipe fce watch output into n8n
fce watch {{ $json.inbox }} --json
# Then in a Code node, parse each line:
# const lines = $input.first().json.stdout.split("\n")
# return lines.map(l => ({ json: JSON.parse(l) }))Running n8n in Docker or a headless server?
Set FCE_API_KEY as an environment variable in your n8n container instead of using fce login. Get the value from the dashboard after logging in on your local machine first.
What you can build
OTP verification flow
Full end-to-end signup verification in a single n8n workflow.
Alert forwarding
Forward specific email alerts to Slack and log them to Airtable.
Parallel inbox testing
Create multiple test inboxes and collect OTPs in parallel.