Join multiple fields into one fields. The final result will be the first defined field.
Billable Operation | Provider | Billing Mode Docs | Connection Docs | Cost per operation Docs |
---|---|---|---|---|
pipe0-field-or | P pipe0 | Always | Managed | 0.00 credits |
This pipe's input fields can be configured by you.
const options = {
method: 'POST',
headers: {'content-type': 'application/json', authorization: 'Bearer <TOKEN>'},
body: JSON.stringify({
config: {environment: 'production'},
pipes: [
{
pipe_id: 'fields:merge@1',
config: {sources: [{field_name: 'field_1'}, {field_name: 'field_2'}]}
}
],
input: [{id: '1', company_website_url: 'Pipe0'}]
})
};
fetch('https://api.pipe0.com/v1/pipes/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));