This workflow follows the Emailsend → HTTP Request recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Buggy \u2014 a catalogue of smells (for testing FlowProof's detectors)",
"nodes": [
{
"id": "t",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
200,
300
],
"parameters": {
"path": "in",
"httpMethod": "POST"
}
},
{
"id": "if",
"name": "Old If",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
440,
300
],
"parameters": {
"conditions": {
"conditions": [
{
"leftValue": "={{$json.body.user.profile.email}}",
"rightValue": "",
"operator": {
"type": "string",
"operation": "notEmpty"
}
}
]
}
}
},
{
"id": "http",
"name": "Call External API",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
680,
220
],
"parameters": {
"url": "http://localhost:9000/internal/charge",
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "<redacted-credential>"
}
]
}
}
},
{
"id": "email",
"name": "Send Email",
"type": "n8n-nodes-base.emailSend",
"typeVersion": 2,
"position": [
920,
220
],
"parameters": {
"toEmail": "={{$json.body.user.profile.email}}"
},
"onError": "continueErrorOutput"
},
{
"id": "orphan",
"name": "Never Runs",
"type": "n8n-nodes-base.set",
"typeVersion": 3,
"position": [
680,
500
],
"parameters": {}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Old If",
"type": "main",
"index": 0
}
]
]
},
"Old If": {
"main": [
[
{
"node": "Call External API",
"type": "main",
"index": 0
}
],
[]
]
},
"Call External API": {
"main": [
[
{
"node": "Send Email",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {},
"active": false
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Buggy — a catalogue of smells (for testing FlowProof's detectors). Uses httpRequest, emailSend. Webhook trigger; 5 nodes.
Source: https://github.com/malharlakdawala/flowproof/blob/main/examples/workflows/buggy.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
> ⚠️ Notice: > Community nodes like @custom-js/n8n-nodes-pdf-toolkit-v2 can be installed on both self-hosted and Cloud instances of n8n. Just search for it via CustomJS.
Billing Workflow. Uses httpRequest, emailSend. Webhook trigger; 11 nodes.
HireMind - Application Approval & Auto-Apply Handler. Uses httpRequest, emailSend. Webhook trigger; 10 nodes.
User Onboarding Workflow. Uses httpRequest, emailSend. Webhook trigger; 7 nodes.
Golden Sample: webhook → http → transform → respond (+error path). Uses httpRequest, errorTrigger, emailSend. Webhook trigger; 7 nodes.