mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-12-20 10:46:16 -06:00
Credencial y nodo de VerificarEmailconfigurado exitosamente
This commit is contained in:
parent
9bc48cec2c
commit
1e3b2dc957
6 changed files with 80 additions and 13 deletions
20
nodes/VerificarEmail/VerificarEmail.node.json
Normal file
20
nodes/VerificarEmail/VerificarEmail.node.json
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"node": "n8n-nodes-base.verificarEmail",
|
||||
"nodeVersion": "1.0",
|
||||
"codexVersion": "1.0",
|
||||
"categories": [
|
||||
"Miscellaneous"
|
||||
],
|
||||
"resources": {
|
||||
"credentialDocumentation": [
|
||||
{
|
||||
"url": ""
|
||||
}
|
||||
],
|
||||
"primaryDocumentation": [
|
||||
{
|
||||
"url": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
49
nodes/VerificarEmail/VerificarEmail.node.ts
Normal file
49
nodes/VerificarEmail/VerificarEmail.node.ts
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
import { INodeType, INodeTypeDescription, NodeConnectionTypes } from 'n8n-workflow';
|
||||
export class VerificarEmail implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Verificacion de Validez de Email',
|
||||
name: 'verificarEmail',
|
||||
icon: 'file:mail-mail-email.svg',
|
||||
group: ['transform'],
|
||||
version: 1,
|
||||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
description: 'Node para verificar emails usando un servicio externo (emailable.com)',
|
||||
defaults: {
|
||||
name: 'Verficar Email',
|
||||
},
|
||||
inputs: [NodeConnectionTypes.Main],
|
||||
outputs: [NodeConnectionTypes.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'verificarEmailApi',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
requestDefaults: {
|
||||
baseURL: 'https://api.emailable.com/v1', // Solo el dominio.
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
},
|
||||
properties: [
|
||||
{
|
||||
displayName: 'Validar Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'correo@email.com',
|
||||
required: true,
|
||||
default: 'dylanbohorquez77@gmail.com',
|
||||
routing: {
|
||||
request: {
|
||||
url: '/verify',
|
||||
qs: {
|
||||
email: '={{$value}}',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
usableAsTool: true
|
||||
};
|
||||
}
|
||||
3
nodes/VerificarEmail/mail-mail-email.svg
Normal file
3
nodes/VerificarEmail/mail-mail-email.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 -0.5 1025 1025" class="icon" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M509.3 606.2c-27.9 0-55.6-9-78.7-26.9L36.4 245.7c-18-15.2-20.2-42.2-5-60.1 15.2-18 42.2-20.2 60.1-5L484.3 513c14.4 11.1 36.5 11.1 52.4-1.2l396.2-331.4c18.1-15.1 45-12.8 60.1 5.4 15.1 18.1 12.7 45-5.4 60.1L590.1 578.3c-24.1 18.7-52.6 27.9-80.8 27.9z" fill="#5F6379" /><path d="M894.8 938.6H129.4c-71.3 0-129.4-58-129.4-129.4v-552c0-71.3 58-129.4 129.4-129.4h765.4c71.3 0 129.4 58 129.4 129.4v552.1c0 71.3-58.1 129.3-129.4 129.3zM129.4 213.2c-24.3 0-44 19.8-44 44v552.1c0 24.3 19.8 44 44 44h765.4c24.3 0 44-19.8 44-44V257.2c0-24.3-19.8-44-44-44H129.4z" fill="#3688FF" /></svg>
|
||||
|
After Width: | Height: | Size: 827 B |
Loading…
Add table
Add a link
Reference in a new issue