I am using Zapier to write an email based on a field.
I have a field that has two values "ig" and "fb". I'd like to replace them respectively by "Instagram" and "Facebook".
David here, from the Zapier Platform team.
There are two main ways to do that:
ig
or fb
as input, return the full value you want to useLookup table basic example. This is the same basic functionality as a lookup table
// inputData is set up in the UI
const table = {
ig: 'Instagram',
fb: 'Facebook'
}
return {result: table[inputData.someFieldName] || 'Default Value'}