added

Dynamic mapping – send fields from monday.com to other tools

You can now create custom entities in your app that map to objects in other tools (or monday.com). You can also specify dependencies for the configuration!

For more information, check out our complete guide on Dynamic mapping here.

When a user tries to configure the mapping field, the monday Apps server will send a request to your “Field Definitions URL”. Your server should then respond with a list of field definitions, which your users can use to map item data to.

Here’s an example function that returns the field definitions:

async function getRemoteFieldDefs(req, res) {
  return res.status(200).send([
    { id: ‘name’, title: ‘Name’, outboundType: ‘text’, inboundTypes: [‘text’] },
    { id: ‘desc’, title: ‘Description’, outboundType: ‘text’, inboundTypes: [‘empty_value’, ‘text’, ‘text_array’] },
    { id: ‘dueDate’, title: ‘Due Date’, outboundType: ‘date’, inboundTypes: [‘empty_value’, ‘date’, ‘date_time’] },
    { id: ‘creationDate’, title: ‘CreateDate’, outboundType: ‘date_time’, inboundTypes: [‘date’, ‘date_time’] },
  ]);
}

You can already explore this by adding a custom field to your app:

2836

If you have any feedback, feel free to post it in our Developer's community.