Extract company website URL from a work email domain with a RegEx-based approach.
Billable Operation | Provider | Billing Mode Docs | Connection Docs | Cost per operation Docs |
---|---|---|---|---|
pipe0-get-website-url | P pipe0 | Always | Managed | 0.00 credits |
const options = {
method: 'POST',
headers: {'content-type': 'application/json', authorization: 'Bearer <TOKEN>'},
body: JSON.stringify({
config: {environment: 'production'},
pipes: [{pipe_id: 'company:websiteurl:email@1'}],
input: [{id: '1', email: 'https://pipe0.com'}]
})
};
fetch('https://api.pipe0.com/v1/pipes/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));