Zapier/Make to n8n Migration Kit
Module 23 · ship · advanced
mappings.js
// What the converter knows: apps with trigger/action equivalents and their aliases.
const s = $('Settings (edit me)').first().json;
const apps = Object.entries(s.app_map).map(([app, m]) => ({ app, trigger: m.trigger?.[0] ?? null, action: m.action?.[0] ?? null, credential: m.credential ?? null,
aliases: Object.entries(s.app_aliases).filter(([, v]) => v === app).map(([k]) => k) }));
return [{ json: { count: apps.length, apps } }];