Skip to content
// Map the form's labels to the proposal API's fields.
const f = $input.first().json;
return [{ json: {
  client: f['Your name'], company: f['Company'] ?? '', email: f['Email'],
  services: f['Services'] ?? [], budget: f['Budget'] ?? '', timeline_weeks: f['Timeline (weeks)'] ?? null,
  goals: f['Goals'] ?? '', notes: f['Anything else?'] ?? '',
} }];