clearbit.json•4.34 kB
{
"nodeType": "n8n-nodes-base.clearbit",
"displayName": "Clearbit",
"description": "Consume Clearbit API",
"version": 1,
"properties": [
{
"name": "domain",
"displayName": "Domain",
"type": "string",
"default": "",
"description": "The domain to look up",
"required": true,
"displayOptions": {
"show": {
"resource": [
"company"
],
"operation": [
"enrich"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "The name of the company",
"placeholder": "Add Field",
"options": [
{
"name": "companyName",
"displayName": "Company Name",
"type": "string",
"default": "",
"description": "The name of the company"
},
{
"name": "facebook",
"displayName": "Facebook",
"type": "string",
"default": "",
"description": "The Facebook URL for the company"
},
{
"name": "linkedin",
"displayName": "Linkedin",
"type": "string",
"default": "",
"description": "The LinkedIn URL for the company"
},
{
"name": "twitter",
"displayName": "Twitter",
"type": "string",
"default": "",
"description": "The Twitter handle for the company"
}
],
"displayOptions": {
"show": {
"resource": [
"company"
],
"operation": [
"enrich"
]
}
}
},
{
"name": "name",
"displayName": "Name",
"type": "string",
"default": "",
"description": "Name is the partial name of the company",
"required": true,
"displayOptions": {
"show": {
"resource": [
"company"
],
"operation": [
"autocomplete"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "enrich",
"description": "Auto-complete company names and retrieve logo and domain",
"options": [
{
"name": "Autocomplete",
"value": "autocomplete",
"description": "Auto-complete company names and retrieve logo and domain"
},
{
"name": "Enrich",
"value": "enrich",
"description": "Look up person and company data based on an email or domain"
}
],
"displayOptions": {
"show": {
"resource": [
"company"
]
}
}
},
{
"name": "email",
"displayName": "Email",
"type": "string",
"default": "",
"description": "The email address to look up",
"placeholder": "name@email.com",
"required": true,
"displayOptions": {
"show": {
"resource": [
"person"
],
"operation": [
"enrich"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "company",
"description": "The Company API allows you to look up a company by their domain",
"options": [
{
"name": "Company",
"value": "company",
"description": "The Company API allows you to look up a company by their domain"
},
{
"name": "Person",
"value": "person",
"description": "The Person API lets you retrieve social information associated with an email address, such as a person’s name, location and Twitter handle"
}
]
}
],
"credentialsConfig": [
{
"name": "clearbitApi",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}