Combine the first and last name of a prospect into a full name field.
Billable Operation | Provider | Billing Mode Docs | Connection Docs | Cost per operation Docs |
---|---|---|---|---|
pipe0-join-name | 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: 'people:name:join@1'}],
input: [{id: '1', first_name: 'John', last_name: 'Doe'}]
})
};
fetch('https://api.pipe0.com/v1/pipes/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));