Tracardi / tracardi

TRACARDI is a new HOME for your customer data. TRACARDI is an Composable API-first solution for any company that need inexpensive CDP to intergrate with.
https://www.tracardi.com
Other
501 stars 92 forks source link

Email verification plugin #826

Open atompie opened 11 months ago

atompie commented 11 months ago

Is your feature request related to a problem? Please describe. https://emailverification.whoisxmlapi.com/disposable-email-domains is a service that verifies the email addreses. We would like to be able to connect this platform to Tracardi.

Describe the solution you'd like We would like to be able to create a resource within Tracardi that will have all the required API credentials and use this resource to connect to the https://emailverification.whoisxmlapi.com API. Then the plugin needs to have a form where we type where is the profile's email is located. Plugin should read data from that location (Class DotAccessor is for this) and send email to the data verification API. The result should be returned on the result port.

Prerequisites

You will need to open free account on https://emailverification.whoisxmlapi.com
Use their API: It is available right after the registration

Help Within Tracardi we have very easy interface to write plugins. This task should not take more then 8h for the beginner.

See the tutorial: http://docs.tracardi.com/plugins/
See other plugins. This one can be helpful: https://github.com/Tracardi/tracardi/blob/master/tracardi/process_engine/action/v1/connectors/hubspot/add_contact/plugin.py
Anant-2005 commented 11 months ago

Please assign it to me

Anant-2005 commented 11 months ago

is there any specific account, I have to use, or I can use a personal account?

atompie commented 11 months ago

Use personally if you can. There's only need for a token or a key that they provide because finally somebody will have to open their account and provide this credentials.

Anant-2005 commented 11 months ago

"username": "support", "domain": "whoisxmlapi.com", "emailAddress": "support@whoisxmlapi.com", "formatCheck": "true", "smtpCheck": "true", "dnsCheck": "true", "freeCheck": "false", "disposableCheck": "false", "catchAllCheck": "true", "mxRecords": [ "ALT1.ASPMX.L.GOOGLE.com", "ALT2.ASPMX.L.GOOGLE.com", "ASPMX.L.GOOGLE.com", "ASPMX2.GOOGLEMAIL.com", "ASPMX3.GOOGLEMAIL.com" ] This is the response format from the API you mentioned. What are the fields among these that I have to check on?

atompie commented 11 months ago

@Anant-2005 hello return the response as is? Tracardi can handle it in the workflow and extract data.

Anant-2005 commented 11 months ago

cannot find this: from com_tracardi.resource.resource_types import commercial_resource_types

atompie commented 11 months ago

@Anant-2005 Where is this code. Can you describe the location of this code. I have found it only in tracard/services/setup_resouces, and it is conditional import:

if License.has_license():
    from com_tracardi.resource.resource_types import commercial_resource_types