Map V2
type dataslot setting in your application or workflow
configuration settings in Cobalt.
A Map V2
type dataslot is a type of user config that allows your users to define a mapping between an object in your application (Source Column) and an object in their connected integration account (Destination Column).
Create Config field
+ Add Field
, provide a name and select the Type
as Map V2
and click on Add field
.Configure Source fields
Type
as Select and then add the options.For mapping, you can either provide Static or Dynamic mapping based on your usecase.For Static mapping, simply add the fields as options and if you want to add Dynamic Mapping here, then Use DataSource
and select the workflow from which you are fetching fields.Configure Destination fields
Type
.Save the mapping
Save field
and the mapping will be available to all your Linked Accounts.Select
as the type and entering the Options
under the Source column.
Type
, choose the object properties which you want the user to map.
Use Data Source
option and get the fields using Data Source. Learn more about DataSource here.value
is mapped to the application platform fields.
value
.
Use Data Source
option under Source column and select the workflow from which you will fetch fields dynamically during run time.
cobalt.config('mailerlite','configid');
Let’s look at a sample response of map-type dataslot.
As you can see, the previously empty labels
array now has the options configured above on the platform - ‘Name’ and ‘Email’.