clean-holiday-47965
01/28/2024, 11:17 AMfresh-fireman-491
01/28/2024, 11:22 AMfresh-fireman-491
01/28/2024, 11:23 AMfresh-fireman-491
01/28/2024, 11:23 AMclean-holiday-47965
01/28/2024, 11:34 AMconst email = event.payload.text;
const url = `https://emailverifier.reoon.com/api/v1/verify?email=${email}&key=removedmyapiforprivacy&mode=quick`;
try {
const response = await axios.get(url);
const verificationResult = response.data;
// Extracting information from JSON response
const verifiedEmail = verificationResult.email;
const status = verificationResult.status;
const username = verificationResult.username;
const domain = verificationResult.domain;
const mxRecords = verificationResult.mx_records;
// Example usage
console.log(`Email: ${verifiedEmail}`);
console.log(`Status: ${status}`);
console.log(`Username: ${username}`);
console.log(`Domain: ${domain}`);
console.log(`MX Records: ${mxRecords.join(', ')}`);
// Handle the verification result or perform other actions based on the verification result
} catch (error) {
console.error('Error verifying email:', error);
// Handle errors (e.g., send an error message back to the user)
const errorEvent = {
type: 'text',
text: 'An error occurred while verifying the email. Please try again later.'
};
return errorEvent;
}
clean-holiday-47965
01/28/2024, 11:37 AMhttps://emailverifier.reoon.com/api/v1/verify?email=<email>&key=<key>&mode=quick
Here,
email = The email address you want to verify. i.e. jhon123@gmail.com
key = One of your API keys created above on this page.
mode = "quick" (Default is "quick", if not provided).
In the URL above, replace the <> with your own data.
Response (JSON):
{
"email": "jhon123@gmail.com",
"status": "valid", // All Status: "valid", "invalid", "disposable"
"username": "jhon123",
"domain": "gmail.com",
"is_valid_syntax": true,
"is_disposable": false,
"is_role_account": false,
"mx_accepts_mail": true,
"mx_records": [
"gmail-smtp-in.l.google.com",
"alt1.gmail-smtp-in.l.google.com",
"alt2.gmail-smtp-in.l.google.com",
"alt3.gmail-smtp-in.l.google.com",
"alt4.gmail-smtp-in.l.google.com"
],
"verification_mode": "quick"
}
clean-holiday-47965
01/28/2024, 11:43 AMfresh-fireman-491
01/28/2024, 11:45 AMclean-holiday-47965
01/28/2024, 11:48 AMclean-holiday-47965
01/28/2024, 11:50 AMfresh-fireman-491
01/28/2024, 11:52 AMEmail: ${verifiedEmail}
);
console.log(Status: ${status}
);
console.log(Username: ${username}
);
console.log(Domain: ${domain}
);
console.log(MX Records: ${mxRecords.join(', ')}
);
// Handle the verification result or perform other actions based on the verification result
} catch (error) {
console.error('Error verifying email:', error);
// Handle errors (e.g., send an error message back to the user)
const errorEvent = {
type: 'text',
text: 'An error occurred while verifying the email. Please try again later.'
};
return errorEvent;
}fresh-fireman-491
01/28/2024, 11:53 AMfresh-fireman-491
01/28/2024, 11:53 AMfresh-fireman-491
01/28/2024, 11:54 AMfresh-fireman-491
01/28/2024, 11:55 AMfresh-fireman-491
01/28/2024, 11:56 AMfresh-fireman-491
01/28/2024, 11:56 AMfresh-fireman-491
01/28/2024, 11:58 AMEmail: ${verifiedEmail}
);
console.log(Status: ${status}
);
console.log(Username: ${username}
);
console.log(Domain: ${domain}
);
console.log(MX Records: ${mxRecords.join(', ')}
);
// Handle the verification result or perform other actions based on the verification result
} catch (error) {
console.error('Error verifying email:', error);
// Handle errors (e.g., send an error message back to the user)
const errorEvent = {
type: 'text',
text: 'An error occurred while verifying the email. Please try again later.'
};
return errorEvent;
}fresh-fireman-491
01/28/2024, 11:59 AMfresh-fireman-491
01/28/2024, 12:00 PMfresh-fireman-491
01/28/2024, 12:01 PMclean-holiday-47965
01/28/2024, 12:14 PMfresh-fireman-491
01/28/2024, 12:23 PMclean-holiday-47965
01/28/2024, 12:25 PMclean-holiday-47965
01/28/2024, 12:26 PM18:25:23
debug
vld-b2745d1a5c
action
Executing capture card custom validation
18:25:23
error
vld-b2745d1a5c
action
Error executing validation "inline-vld-b2745d1a5c.js"
Error executing validation "inline-vld-b2745d1a5c.js"
[SyntaxError, missing ) after argument list]
{"scope":"bot-action","cardId":"vld-b2745d1a5c","nodeId":"node:Standard2","workflowId":"flow:Main"}
clean-holiday-47965
01/28/2024, 12:26 PMfresh-fireman-491
01/28/2024, 12:59 PMfresh-fireman-491
01/28/2024, 1:00 PMclean-holiday-47965
01/28/2024, 2:10 PMclean-holiday-47965
01/28/2024, 2:28 PMconst email = event.payload.text;
const url = `https://emailverifier.reoon.com/api/v1/verify?email=${email}&key=mykey&mode=quick`;
try {
const response = await axios.get(url);
const verificationResult = response.data;
// Extracting information from JSON response
const verifiedEmail = verificationResult.email;
const status = verificationResult.status;
const username = verificationResult.username;
const domain = verificationResult.domain;
const mxRecords = verificationResult.mx_records;
// Simplified status assignment
if (["valid", "invalid", "disposable"].includes(status)) {
workflow.status = status;
}
// Example usage
console.log(Email: ${verifiedEmail});
console.log(Status: ${status});
console.log(Username: ${username});
console.log(Domain: ${domain});
console.log(MX Records: ${mxRecords.join(', ')});
// Handle the verification result or perform other actions based on the verification result
} catch (error) {
console.error('Error verifying email:', error);
// Handle errors (e.g., send an error message back to the user)
const errorEvent = {
type: 'text',
text: 'An error occurred while verifying the email. Please try again later.'
};
return errorEvent;
}
clean-holiday-47965
01/28/2024, 2:29 PMworkflow.status === "invalid" || workflow.status === "disposal"
fresh-fireman-491
01/28/2024, 3:25 PMfresh-fireman-491
01/28/2024, 3:25 PMfresh-fireman-491
01/28/2024, 3:25 PMEmail: ${verifiedEmail}
);
console.log(Status: ${status}
);
console.log(Username: ${username}
);
console.log(Domain: ${domain}
);
console.log(MX Records: ${mxRecords.join(', ')}
);fresh-fireman-491
01/28/2024, 3:25 PMfresh-fireman-491
01/28/2024, 3:25 PMfresh-fireman-491
01/28/2024, 3:25 PMclean-holiday-47965
01/28/2024, 3:26 PMclean-holiday-47965
01/28/2024, 3:31 PMclean-holiday-47965
01/28/2024, 3:31 PMclean-holiday-47965
01/28/2024, 3:32 PMfresh-fireman-491
01/28/2024, 3:36 PMclean-holiday-47965
01/28/2024, 3:39 PM