Skip to content
Guides

Make.com Custom App Modules: Actions, Searches and Mapping

In this video

This is the written version of Level 4 of Build your own Make app. Your module runs. It returns a customer. You add Google Sheets after it, open the mapping panel, and it's empty. Nothing to map.

In this level you build the modules people actually drag into scenarios: the ones that create things, find things, and hand clean fields to whatever comes next. You'll also see the naming rules Make's reviewers check, word by word. If you're just arriving, Level 3 builds the connection these modules use.

The example API throughout is Acme CRM. It's invented, so the endpoints and field names below are made up. The Make syntax is real, from Make's developer docs.

Pick the right type

Make has six types of module: action, search, trigger, instant trigger, universal and responder. You'll mostly build two.

  • An action does one thing and returns one result. Create a customer. Get a customer. Delete one.
  • A search returns many results. List customers. Search orders.

If you see this error, Make is telling you your action is really a search:

Invalid module output. Expected Object, but found Array.

The API sent back a list, and an action can only hand on one bundle. Make's docs also say an action module should never contain pagination or the iterate directive. Those belong to searches.

One thing that trips people up: a "Get" module returns one record by its ID, so it's an action, even though it reads data.

Parameters people fill in

The fields in a module are mappable parameters. People can type a value or map one from an earlier module. (Static parameters are only for triggers, which come in Level 6. On every other module, leave that tab empty.)

Use the right type for each field:

  • a select for a fixed list, so nobody types "Pro" with a typo
  • a number for numbers
  • a date for dates

Dates matter most. Make's rule is that users should never have to format a date the way your API wants. They pick a date, and your module formats it. Apps that make users do it won't be approved.

Rarely used fields go under advanced settings with "advanced": true, at the end of the list, so the dialog stays short.

Here are the mappable parameters for Create a customer:

[
    {
        "name": "email",
        "label": "Email",
        "type": "email",
        "required": true
    },
    {
        "name": "plan",
        "label": "Plan",
        "type": "select",
        "options": [
            { "label": "Starter", "value": "starter" },
            { "label": "Pro", "value": "pro" }
        ]
    },
    {
        "name": "seats",
        "label": "Seats",
        "type": "number"
    },
    {
        "name": "birthday",
        "label": "Birthday",
        "type": "date"
    },
    {
        "name": "notes",
        "label": "Notes",
        "type": "text",
        "advanced": true
    }
]

And the Communication tab, where the module formats the date itself with formatDate:

{
    "url": "/customers",
    "method": "POST",
    "body": {
        "email": "{{parameters.email}}",
        "plan": "{{parameters.plan}}",
        "seats": "{{parameters.seats}}",
        "birthday": "{{formatDate(parameters.birthday, 'YYYY-MM-DD')}}",
        "notes": "{{parameters.notes}}"
    },
    "response": {
        "output": "{{body}}"
    }
}

The url starts with /, so Make joins it to the baseUrl from your Base. When you change mappable parameters, refresh your scenario to see the changes.

The interface: fix an empty mapping panel

So, back to the empty mapping panel. It's empty because Make doesn't know what your module returns until it has run once. Even then, it only knows the fields that happened to come back.

The fix is the Interface tab. It describes your output: every field, its label and its type. With an interface, the next module can map ID, email and plan before your module has run a single time.

[
    { "name": "id", "label": "ID", "type": "text" },
    { "name": "email", "label": "Email", "type": "email" },
    { "name": "plan", "label": "Plan", "type": "text" },
    { "name": "seats", "label": "Seats", "type": "number" },
    { "name": "created_at", "label": "Created at", "type": "date" }
]

Make's advice is to describe the full response, nested fields too, and to type dates as date. You don't have to type it all by hand. Run the module, choose Download output bundles and copy the output. Then in the Interface tab choose Options > Generator, paste, and click Generate. Review what it makes: check that dates are typed date and labels are in sentence case, and for a search, delete the __IMTLENGTH__ and __IMTINDEX__ entries.

The output itself is the simple part. Return what your API sent, as it is: "{{body}}" for an action, "{{item}}" for each item of a search.

Module names that pass review

Make's reviewers read every name.

Labels are sentence case, verb first, and combine a verb with the thing it acts on:

  • Actions are singular: "Create a customer", "Get a customer". Not "Customer Create".
  • Triggers start with Watch and are plural: "Watch customers". Not "Watch a customer".
  • Searches are plural too, and the verb tells you something. List when there are no filters ("List users"). Search when there is at least one ("Search customers").

Descriptions are one sentence, in the third person, ending with a full stop:

  • "Creates a new customer."
  • "Returns a list of users in a specific organization."
  • "Returns information about a specific user by their user ID."

What NativeShip names for you

We build NativeShip, which turns an OpenAPI spec into a Make app. It picks the module type from the spec: a call that returns one thing becomes an action, and a call that returns a list becomes a search.

From the Acme CRM spec it generates Watch customers, List customers, Get a customer, Create a customer, Update a customer, Delete a customer and Make an API call, each with a description in Make's style. Every generated module gets an interface built from the response schema in your spec, so the next module has something to map from the start, and the generated create body formats dates with formatDate.

And here's one to fix by hand. Acme's list call has filters: status, email and sort. By Make's rule that's a search, so it should be called "Search customers", not "List customers". NativeShip doesn't make that switch for you yet. You can rename it in the editor in a second, but it's exactly the kind of thing a reviewer will flag. Another small one: a parameter called ids gets the label "IDS", which should be "IDs" in sentence case.

The Limit field

Last rule for searches: they need a Limit field.

[
    {
        "name": "limit",
        "label": "Limit",
        "type": "uinteger",
        "help": "Maximum number of customers to return.",
        "default": 10
    }
]
  • On a search it isn't required, so leaving it empty returns everything.
  • Its default is 10.
  • It's the last standard field, and it's never hidden under advanced settings.

A search module uses it in response.limit:

{
    "url": "/customers",
    "method": "GET",
    "qs": {
        "status": "{{parameters.status}}",
        "email": "{{parameters.email}}"
    },
    "response": {
        "iterate": "{{body.data}}",
        "output": "{{item}}",
        "limit": "{{parameters.limit}}"
    }
}

Remember this field. In the next level it's what stops your pagination.

What you have now

  • the right module type for each call
  • fields people like, with dates they never have to format
  • an interface, so the mapping panel is never empty
  • names and descriptions that pass review

Your search says success, but you only got page one. In Level 5 every search fetches every page, and your errors start telling Make what to do. Earlier levels: Level 1, whether you need a custom app at all, and Level 2, your first app. Later: Level 7 for dropdowns and polish, Level 8 for Make's review, and Level 9 for the same app from a spec.

We build NativeShip, which writes these modules, labels, descriptions and interfaces from your spec, and shows you each one as it will look in Make before you build. Everything in this guide works without it.

Frequently asked questions

An action returns exactly one result, like Create a customer or Get a customer. A search returns many results, like List customers or Search orders. A Get module that returns one record by its ID is an action, not a search.

Your module is an action, but the API sent back a list. An action can only hand on one bundle. Change the module to a search and iterate over the list.

Make doesn't know what your module returns until it has run, and then only knows the fields that happened to come back. Fill in the module's Interface tab with every output field, its label and its type, and the next module can map them straight away.

Sentence case, verb first. Actions are singular ("Create a customer"), triggers start with Watch and are plural ("Watch customers"), and searches are plural: "List" with no filters, "Search" with filters. Descriptions are one sentence in the third person, ending with a full stop.

No. On a search it isn't required, so leaving it empty returns everything. Its default is 10, it's the last standard field, and it's never put under advanced settings.

Ready to launch your n8n, Make, Zapier or Activepieces integration?

Give your customers another way to use your product.

Get started