BigDataCloud API Validation

This is a utility component which uses the BigDataCloud API to validate emails and phone numbers.

How it works:

See Create a Component if you need a refresher.

Go to BigDataCloud to sign up - https://www.bigdatacloud.com/ .

Go to Credentials and copy the API key.

Screen Shot 2024-01-16 at 3.15.24 PM.png

The component uses the BIGDATA Library to connect and call two example client methods:

  • c:validatePhone to validate a phone number against the BigDataCloud API.

  • c:validateEmail to validate an email against the BigDataCloud API.

The returned validation results are stored in a table called “out“, serialized and queued for a downstream component to process as needed.

Screen Shot 2024-01-16 at 3.31.45 PM.png

Modify the passed arguments to test it for yourself!

For reference here is a sample json response for an email validation from the BigDataCloud API:

{ "inputData": "test@gmail.com", "isValid": true, "isSyntaxValid": true, "isMailServerDefined": true, "isKnownSpammerDomain": false, "isDisposable": false }

 

Related pages