Skip to content

Commit 086492f

Browse files
author
Josselin Liebe
committed
feat(veille): add Veille integration
Add a Veille block for fraud signals and validation: - Verify email deliverability with an SMTP test, or check an address for disposable, role, webmail and relay use without one - Validate phone numbers and score IP addresses for VPN, proxy, Tor and datacenter traffic - Inspect a domain's DNS health, WHOIS dates and age - Verify EU VAT numbers against VIES and validate IBANs - Read the European Central Bank's daily exchange rates Outputs follow the documented OpenAPI schemas and were checked against live responses. Credentials are a Veille API key sent in the x-api-key header.
1 parent 61843fe commit 086492f

28 files changed

Lines changed: 2310 additions & 7 deletions

‎apps/docs/components/icons.tsx‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10459,3 +10459,15 @@ export function PlaneIcon(props: SVGProps<SVGSVGElement>) {
1045910459
</svg>
1046010460
)
1046110461
}
10462+
10463+
export function VeilleIcon(props: SVGProps<SVGSVGElement>) {
10464+
return (
10465+
<svg viewBox='-2.3 -0.3 20.6 20.6' fill='none' xmlns='http://www.w3.org/2000/svg' {...props}>
10466+
<title>Veille</title>
10467+
<path
10468+
d='M16 3V9.09C16 14.14 12.59 18.85 8 20C3.41 18.85 0 14.14 0 9.09V3L8 0L16 3ZM2 4.39V9.09C2 13.1 4.55 16.79 8 17.92C11.45 16.79 14 13.09 14 9.09V4.39L8 2.14L2 4.39ZM8.122 5.523C8.187 5.547 8.245 5.588 8.29 5.642C8.335 5.696 8.365 5.761 8.377 5.831C8.389 5.901 8.383 5.973 8.359 6.04C8.154 6.597 8.072 7.195 8.12 7.788C8.168 8.382 8.345 8.956 8.637 9.471C8.925 9.986 9.321 10.429 9.797 10.768C10.273 11.106 10.816 11.331 11.387 11.427C11.68 11.48 11.81 11.844 11.611 12.084C10.02 14.013 7.105 13.951 5.592 12.023C3.689 9.605 5.031 6.058 7.919 5.507C7.987 5.494 8.057 5.5 8.122 5.523Z'
10469+
fill='#2563EB'
10470+
/>
10471+
</svg>
10472+
)
10473+
}

‎apps/docs/components/ui/icon-mapping.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ import {
304304
UptimeRobotIcon,
305305
VantaIcon,
306306
VariableIcon,
307+
VeilleIcon,
307308
VercelIcon,
308309
VideoIcon,
309310
WealthboxIcon,
@@ -684,6 +685,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
684685
uptimerobot: UptimeRobotIcon,
685686
vanta: VantaIcon,
686687
variables: VariableIcon,
688+
veille: VeilleIcon,
687689
vercel: VercelIcon,
688690
video_generator: VideoIcon,
689691
video_generator_v2: VideoIcon,

‎apps/docs/content/docs/integrations/meta.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@
290290
"upstash",
291291
"uptimerobot",
292292
"vanta",
293+
"veille",
293294
"vercel",
294295
"wealthbox",
295296
"wealthbox-service-account",
Lines changed: 331 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,331 @@
1+
---
2+
title: Veille
3+
description: Validate emails, phones, IPs, domains, VAT numbers and IBANs
4+
integration:
5+
type: "veille"
6+
color: "#FFFFFF"
7+
---
8+
9+
import { ReferenceDetails } from "@/components/ui/reference-details"
10+
11+
12+
{/* MANUAL-CONTENT-START:intro */}
13+
[Veille](https://www.veille.io/) is a validation and fraud-signal API for emails, phone numbers, IP addresses, domains, EU VAT numbers and IBANs.
14+
15+
With the Veille block, you can:
16+
17+
- **Screen signups and forms**: verify that an email can receive mail, flag disposable, role, webmail and relay addresses, and score an IP address for VPN, proxy, Tor and datacenter traffic
18+
- **Check contact details**: validate phone numbers and inspect a domain's DNS health, WHOIS dates and age
19+
- **Verify business details**: check EU VAT numbers against VIES and validate IBANs with their bank and BIC
20+
- **Convert currencies**: read the European Central Bank's daily exchange rates for any base currency
21+
22+
Create an API key in the [Veille dashboard](https://app.veille.io/) and paste it into the block.
23+
24+
In Sim, the Veille block lets your agents stop fake signups, clean lead lists before a campaign, and check B2B customers before invoicing them.
25+
{/* MANUAL-CONTENT-END */}
26+
27+
## Use the block [#usage-instructions]
28+
29+
Check signups and forms for fraud with Veille: verify email deliverability, flag disposable, role and webmail addresses, validate phone numbers, score IP addresses for VPN, proxy and Tor traffic, inspect domains, verify EU VAT numbers and IBANs, and read the European Central Bank's daily exchange rates.
30+
31+
## Actions
32+
33+
### Veille Verify Email
34+
35+
Verify that an email address can receive mail with an SMTP inbox test and catch-all detection, and get a verdict with a 0-100 risk score.
36+
37+
<ReferenceDetails>
38+
39+
#### Input
40+
41+
| Parameter | Type | Required | Description |
42+
| --------- | ---- | -------- | ----------- |
43+
| `email` | string | Yes | The email address to check \(e.g., "jane@company.com"\) |
44+
| `apiKey` | string | Yes | Veille API key |
45+
46+
#### Output
47+
48+
| Parameter | Type | Description |
49+
| --------- | ---- | ----------- |
50+
| `qualification` | string | Verdict: valid, invalid, risky, disposable or unknown |
51+
| `smtpValid` | boolean | Whether the inbox accepted mail in the SMTP test |
52+
| `email` | string | The email address that was checked |
53+
| `normalizedEmail` | string | The address in lowercase, as checked |
54+
| `domain` | string | Domain of the address |
55+
| `riskScore` | number | Risk score from 0 \(safe\) to 100 \(risky\) |
56+
| `disposable` | boolean | Whether the address uses a disposable or temporary inbox |
57+
| `roleAccount` | boolean | Whether the address is a role account, such as contact@ or support@ |
58+
| `roleType` | string | Role of a role account, such as contact or support |
59+
| `publicDomain` | boolean | Whether the domain is a public webmail provider |
60+
| `relayDomain` | boolean | Whether the domain is an email relay or forwarding service |
61+
| `isAlias` | boolean | Whether the address is an alias, such as a plus address |
62+
| `education` | boolean | Whether the domain belongs to an education institution |
63+
| `hasGravatar` | boolean | Whether the address has a Gravatar profile |
64+
| `dns` | object | DNS health of the domain: MX, SPF and DMARC records |
65+
| ↳ `mx` | boolean | Whether the domain has MX records |
66+
| ↳ `spf` | string | SPF record of the domain |
67+
| ↳ `spfValid` | boolean | Whether the SPF record is valid |
68+
| ↳ `dmarc` | string | DMARC record of the domain |
69+
| ↳ `dmarcValid` | boolean | Whether the DMARC record is valid |
70+
| ↳ `mxRecords` | array | MX records of the domain |
71+
| ↳ `hostname` | string | Mail server hostname |
72+
| ↳ `priority` | number | MX priority, lower is preferred |
73+
74+
</ReferenceDetails>
75+
76+
### Veille Check Email
77+
78+
Check an email address without an SMTP test: disposable or temporary inbox, role account, public webmail, relay or alias, DNS health and a 0-100 risk score.
79+
80+
<ReferenceDetails>
81+
82+
#### Input
83+
84+
| Parameter | Type | Required | Description |
85+
| --------- | ---- | -------- | ----------- |
86+
| `email` | string | Yes | The email address to check \(e.g., "jane@company.com"\) |
87+
| `apiKey` | string | Yes | Veille API key |
88+
89+
#### Output
90+
91+
| Parameter | Type | Description |
92+
| --------- | ---- | ----------- |
93+
| `email` | string | The email address that was checked |
94+
| `normalizedEmail` | string | The address in lowercase, as checked |
95+
| `domain` | string | Domain of the address |
96+
| `riskScore` | number | Risk score from 0 \(safe\) to 100 \(risky\) |
97+
| `disposable` | boolean | Whether the address uses a disposable or temporary inbox |
98+
| `roleAccount` | boolean | Whether the address is a role account, such as contact@ or support@ |
99+
| `roleType` | string | Role of a role account, such as contact or support |
100+
| `publicDomain` | boolean | Whether the domain is a public webmail provider |
101+
| `relayDomain` | boolean | Whether the domain is an email relay or forwarding service |
102+
| `isAlias` | boolean | Whether the address is an alias, such as a plus address |
103+
| `education` | boolean | Whether the domain belongs to an education institution |
104+
| `hasGravatar` | boolean | Whether the address has a Gravatar profile |
105+
| `dns` | object | DNS health of the domain: MX, SPF and DMARC records |
106+
| ↳ `mx` | boolean | Whether the domain has MX records |
107+
| ↳ `spf` | string | SPF record of the domain |
108+
| ↳ `spfValid` | boolean | Whether the SPF record is valid |
109+
| ↳ `dmarc` | string | DMARC record of the domain |
110+
| ↳ `dmarcValid` | boolean | Whether the DMARC record is valid |
111+
| ↳ `mxRecords` | array | MX records of the domain |
112+
| ↳ `hostname` | string | Mail server hostname |
113+
| ↳ `priority` | number | MX priority, lower is preferred |
114+
115+
</ReferenceDetails>
116+
117+
### Veille Validate Phone
118+
119+
Validate a phone number in E.164 format and get its line type, carrier, country, time zones, virtual or disposable flags and a 0-100 risk score.
120+
121+
<ReferenceDetails>
122+
123+
#### Input
124+
125+
| Parameter | Type | Required | Description |
126+
| --------- | ---- | -------- | ----------- |
127+
| `phone` | string | Yes | The phone number in E.164 format, starting with + \(e.g., "+33142928100"\) |
128+
| `apiKey` | string | Yes | Veille API key |
129+
130+
#### Output
131+
132+
| Parameter | Type | Description |
133+
| --------- | ---- | ----------- |
134+
| `isValid` | boolean | Whether the number is valid |
135+
| `e164Format` | string | The number in E.164 format |
136+
| `internationalFormat` | string | The number in international format |
137+
| `nationalFormat` | string | The number in national format |
138+
| `lineType` | string | Line type, such as mobile, fixed_line or voip |
139+
| `carrier` | string | Carrier of the number |
140+
| `carrierType` | string | Carrier type |
141+
| `country` | string | ISO 3166-1 alpha-2 country code of the number |
142+
| `countryName` | string | Country of the number |
143+
| `callingCode` | string | International calling code, without + |
144+
| `region` | string | City or region the number is registered to |
145+
| `timezones` | array | Time zones of the number |
146+
| `isVirtual` | boolean | Whether the number is virtual |
147+
| `isDisposable` | boolean | Whether the number is a disposable number |
148+
| `isSpam` | boolean | Whether the number is reported for spam |
149+
| `isThreat` | boolean | Whether the number is reported as a threat |
150+
| `riskScore` | number | Risk score from 0 \(safe\) to 100 \(risky\) |
151+
152+
</ReferenceDetails>
153+
154+
### Veille Check IP
155+
156+
Check an IPv4 or IPv6 address for VPN, proxy, Tor exit, datacenter, abuse and crawler traffic, with its network owner, location and a 0-100 threat score.
157+
158+
<ReferenceDetails>
159+
160+
#### Input
161+
162+
| Parameter | Type | Required | Description |
163+
| --------- | ---- | -------- | ----------- |
164+
| `ip` | string | Yes | The IPv4 or IPv6 address \(e.g., "8.8.8.8"\) |
165+
| `apiKey` | string | Yes | Veille API key |
166+
167+
#### Output
168+
169+
| Parameter | Type | Description |
170+
| --------- | ---- | ----------- |
171+
| `ip` | string | The IP address that was checked |
172+
| `threatScore` | number | Threat score from 0 \(safe\) to 100 \(risky\) |
173+
| `isVpn` | boolean | Whether the address belongs to a VPN |
174+
| `isProxy` | boolean | Whether the address is a proxy |
175+
| `isTor` | boolean | Whether the address is a Tor exit node |
176+
| `isDatacenter` | boolean | Whether the address belongs to a datacenter or hosting provider |
177+
| `isAbuser` | boolean | Whether the address is reported for abuse |
178+
| `isCrawler` | boolean | Whether the address belongs to a known crawler |
179+
| `isMobile` | boolean | Whether the address belongs to a mobile network |
180+
| `isBogon` | boolean | Whether the address is a bogon \(reserved or unassigned\) address |
181+
| `asn` | object | Network that owns the address |
182+
| ↳ `asn` | number | Autonomous system number |
183+
| ↳ `org` | string | Organization that owns the network |
184+
| ↳ `type` | string | Network type, such as hosting, isp or business |
185+
| ↳ `route` | string | IP range announced for the network |
186+
| ↳ `domain` | string | Domain of the network owner |
187+
| ↳ `country` | string | Country code of the network owner |
188+
| ↳ `abuse` | string | Abuse contact email of the network |
189+
| ↳ `active` | boolean | Whether the network is active |
190+
| `location` | object | Geolocation of the address |
191+
| ↳ `city` | string | City |
192+
| ↳ `state` | string | State or region |
193+
| ↳ `country` | string | Country name |
194+
| ↳ `countryCode` | string | ISO 3166-1 alpha-2 country code |
195+
| ↳ `continent` | string | Continent code |
196+
| ↳ `zip` | string | Postal code |
197+
| ↳ `latitude` | number | Latitude |
198+
| ↳ `longitude` | number | Longitude |
199+
| ↳ `timezone` | string | IANA time zone |
200+
| ↳ `isEuMember` | boolean | Whether the country is a member of the European Union |
201+
| ↳ `currencyCode` | string | ISO 4217 code of the local currency |
202+
203+
</ReferenceDetails>
204+
205+
### Veille Check Domain
206+
207+
Check whether a domain hosts disposable, public webmail, relay or education email, with its DNS health, WHOIS dates and age.
208+
209+
<ReferenceDetails>
210+
211+
#### Input
212+
213+
| Parameter | Type | Required | Description |
214+
| --------- | ---- | -------- | ----------- |
215+
| `domain` | string | Yes | A domain, URL or email address; the domain is extracted \(e.g., "mailinator.com"\) |
216+
| `apiKey` | string | Yes | Veille API key |
217+
218+
#### Output
219+
220+
| Parameter | Type | Description |
221+
| --------- | ---- | ----------- |
222+
| `domain` | string | The domain that was checked |
223+
| `disposable` | boolean | Whether the domain provides disposable or temporary inboxes |
224+
| `publicDomain` | boolean | Whether the domain is a public webmail provider |
225+
| `relayDomain` | boolean | Whether the domain is an email relay or forwarding service |
226+
| `education` | boolean | Whether the domain belongs to an education institution |
227+
| `isSubdomain` | boolean | Whether the domain is a subdomain |
228+
| `domainAgeDays` | number | Age of the domain in days |
229+
| `tags` | array | Labels for the domain, such as disposable |
230+
| `sources` | array | Lists that report the domain |
231+
| `firstSeen` | string | When Veille first saw the domain |
232+
| `lastSeen` | string | When Veille last saw the domain |
233+
| `whois` | object | Registration dates and registrar |
234+
| ↳ `registrar` | string | Registrar of the domain |
235+
| ↳ `creationDate` | string | Date the domain was registered |
236+
| ↳ `updatedDate` | string | Date the registration was last updated |
237+
| ↳ `expirationDate` | string | Date the registration expires |
238+
| `dns` | object | DNS health of the domain: MX, SPF and DMARC records |
239+
| ↳ `mx` | boolean | Whether the domain has MX records |
240+
| ↳ `spf` | string | SPF record of the domain |
241+
| ↳ `spfValid` | boolean | Whether the SPF record is valid |
242+
| ↳ `dmarc` | string | DMARC record of the domain |
243+
| ↳ `dmarcValid` | boolean | Whether the DMARC record is valid |
244+
| ↳ `mxRecords` | array | MX records of the domain |
245+
| ↳ `hostname` | string | Mail server hostname |
246+
| ↳ `priority` | number | MX priority, lower is preferred |
247+
248+
</ReferenceDetails>
249+
250+
### Veille Verify VAT Number
251+
252+
Check an EU VAT number against VIES and get whether it is valid, with the registered company name and address when the member state shares them.
253+
254+
<ReferenceDetails>
255+
256+
#### Input
257+
258+
| Parameter | Type | Required | Description |
259+
| --------- | ---- | -------- | ----------- |
260+
| `vatNumber` | string | Yes | The VAT number with its country prefix \(e.g., "FR40303265045"\) |
261+
| `apiKey` | string | Yes | Veille API key |
262+
263+
#### Output
264+
265+
| Parameter | Type | Description |
266+
| --------- | ---- | ----------- |
267+
| `valid` | boolean | Whether the number is valid |
268+
| `vatNumber` | string | The VAT number without its country prefix |
269+
| `countryCode` | string | Country code of the number |
270+
| `companyName` | string | Registered company name, when the member state shares it |
271+
| `companyAddress` | string | Registered company address, when the member state shares it |
272+
273+
</ReferenceDetails>
274+
275+
### Veille Validate IBAN
276+
277+
Check an IBAN's structure and checksum and get its bank name, BIC, bank and branch codes, country and SEPA membership.
278+
279+
<ReferenceDetails>
280+
281+
#### Input
282+
283+
| Parameter | Type | Required | Description |
284+
| --------- | ---- | -------- | ----------- |
285+
| `iban` | string | Yes | The IBAN, with or without spaces \(e.g., "FR7630006000011234567890189"\) |
286+
| `apiKey` | string | Yes | Veille API key |
287+
288+
#### Output
289+
290+
| Parameter | Type | Description |
291+
| --------- | ---- | ----------- |
292+
| `valid` | boolean | Whether the IBAN is valid |
293+
| `iban` | string | The IBAN without spaces |
294+
| `bic` | string | BIC of the bank |
295+
| `bankName` | string | Name of the bank |
296+
| `bankCode` | string | Bank code |
297+
| `branchCode` | string | Branch code |
298+
| `accountNumber` | string | Account number |
299+
| `bban` | string | Basic bank account number |
300+
| `checksumDigits` | string | Checksum digits |
301+
| `countryCode` | string | Country code of the IBAN |
302+
| `countryName` | string | Country of the IBAN |
303+
| `inSepaZone` | boolean | Whether the country is in the SEPA zone |
304+
305+
</ReferenceDetails>
306+
307+
### Veille Get Exchange Rates
308+
309+
Get the European Central Bank's daily exchange rates for a base currency, optionally limited to some target currencies.
310+
311+
<ReferenceDetails>
312+
313+
#### Input
314+
315+
| Parameter | Type | Required | Description |
316+
| --------- | ---- | -------- | ----------- |
317+
| `base` | string | No | ISO 4217 code of the base currency; defaults to EUR \(e.g., "USD"\) |
318+
| `symbols` | string | No | Comma-separated ISO 4217 codes to keep \(e.g., "EUR,GBP"\) |
319+
| `apiKey` | string | Yes | Veille API key |
320+
321+
#### Output
322+
323+
| Parameter | Type | Description |
324+
| --------- | ---- | ----------- |
325+
| `base` | string | Base currency of the rates |
326+
| `date` | string | Date of the rates \(YYYY-MM-DD\) |
327+
| `rates` | json | Rates keyed by ISO 4217 currency code, for one unit of the base currency |
328+
329+
</ReferenceDetails>
330+
331+

0 commit comments

Comments
 (0)