This is the Formstep custom app for Make, kept in git. Make hosts and runs the app. This repository holds its IML JSON and IML functions, contract tests, a script that pushes everything to the Make Developer Hub, and the setup steps.
The Hub app is formbase-f1d7bp, version 1, shown in Make as Formstep. It is published and shared by invitation until Make approves it: https://www.make.com/en/hq/app-invitation/19b85d47851b8e2054970a52663f8290
The app follows the Formstep n8n and Zapier integrations. The API contract lives in formstep/formstep.
OAuth 2.0 authorization code with mandatory PKCE S256 and the scopes api:read api:write offline_access. Access and refresh tokens rotate. One connection covers one workspace, and the form picker lists that workspace's forms with cursor pagination. The user signs in and picks the workspace on Formstep's consent page. See OAuth redirect.
The connection's two advanced parameters, Client ID and Client secret (a password), let a user bring an OAuth client of their own, registered through Formstep's dynamic client registration (POST https://api.formstep.io/oauth/register). Left empty, the connection uses fboc_make from Common data: authorize, token and refresh read {{ifempty(parameters.clientId, common.clientId)}} and the same for the secret, as Make's review asks. Make sends the secret in the token request body, so an own client must register with the auth method client_secret_post, or none for a public client; client_secret_basic fails with "Basic auth required". It must also register Make's callback as a redirect URI.
Both triggers are instant, and each has an attached dedicated webhook. Make subscribes with webhooks.create when the webhook is created and unsubscribes with webhooks.delete when it is deleted. A trigger listens to one event.
Watch public link submissions covers submissions through a form's public link:
| Event option | Delivers | When |
|---|---|---|
submission_created |
submission.completed |
Once per new submission |
submission_updated |
submission.updated |
The respondent edits a submission they already sent. The form must allow editing after submit |
submission_abandoned |
submission.abandoned |
A partial submission stays idle for the required idle window: 12 hours, 1 day, 3 days or 1 week |
Since 2.4.0 a scenario on Submission created no longer runs on edits; pick Submission updated for those. A completed request never reaches this trigger (one channel, one event), and a request never produces an update event.
Watch requests covers a form's requests:
| Event option | Delivers |
|---|---|
request_completed |
request.completed |
request_expired |
request.expired |
request_canceled |
request.canceled |
Test requests never reach it. A completed request fires Watch requests alone, so a scenario with both triggers on one form receives one bundle per completion.
| Module | API method | What it does |
|---|---|---|
| Create a request | requests.create |
Takes the form, recipient, delivery, language, reminders, expiry, external ID, metadata and test mode. Returns the request summary with the request link (url) |
| Get a request | requests.get |
Returns the request with answers and display, plus the timeline. Picking the optional Form lists the answers per field key |
| Cancel a request | requests.cancel |
Withdraws a pending request, with an optional reason |
Send a request reminder (remindRequest) |
requests.remind |
Emails the recipient a reminder now |
| Search requests | requests.list |
Lists a form's requests by status and external ID, following nextCursor up to the limit |
| Make an API call | any | Universal module for the other Formstep JSON-RPC methods. Returns body (the { ok, data } envelope), headers and statusCode |
In Create a request, picking a form loads the prefill inputs, the hidden-field context inputs and the read-only picker, one per field key, from fields.list through the nested getRequestFields RPC. The external ID is also sent as idempotencyKey, so a scenario that runs again reuses the request.
Request ID in Get a request, Cancel a request and Send a request reminder is a select that opens in mapping mode ("mode": "edit"). Switched to the list, it shows the workspace's latest requests from the listRequests RPC, up to 300: every status in Get a request, pending ones in the other two.
The modules are grouped in app/groups.imljson: Triggers, Requests, and Other with the universal module alone. The hidden watchSubmissions module, which watchPublicLinkSubmissions replaced, exists only in the Hub and is listed under Triggers, because a published module cannot be deleted.
Every event is the Formstep envelope { id, type, createdAt, apiVersion, test, data }. data.answers holds each answer once under its field key, and data.display holds the readable text under the same key. data.submission carries the email, date, PDF and language. Request events add data.request.
Output interfaces are built from fields.list, so every answer maps under its own field key:
- a choice answer as its option key
- a multi-choice answer as a list of keys
- a matrix as one item per row
- a repeating group as an array of rows
- a booking or a payment as one item per property
Watch requests and Get a request reuse the buildSubmissionInterface function through the iml namespace, so a field key maps under the same pill in every module. Sample payloads come from submissions.sample and requests.sample.
Make shows a value as a date only when the module returns a date; typing a string date in the interface does not convert it. Three functions parse the times:
requestDatesfor Create a request, Get a request, Cancel a request, Send a request reminder and Search requests. The API returns a request's times as epoch milliseconds, and the function turns the request's top-level...Atfields andtimeline[].atinto dates. Display text, prefill, context and metadata stay as they are, because a field key may end inAtand hold a number that is not a time.eventDatesfor both triggers. A webhook event carries ISO 8601 strings, and the function parses the envelope'screatedAt, the request'screatedAt,completedAt,expiredAtandcanceledAt, and the submission'ssubmittedAtandupdatedAt.answerDates, called by the other two, for the booking and payment times insideanswers. Those sit under field keys only the form knows, so it goes by shape: an object answer gets itsstart,end,paidAt,refundedAtanddisputedAtparsed when the value is a full ISO date-time.
A date question answers YYYY-MM-DD and a time question HH:MM. Both stay text and are typed text in the interface, as Make's review asks.
A Make custom-app webhook sees only the parsed body, headers and query, never the raw bytes, and it holds no per-subscription secret when a delivery arrives. X-Formstep-Signature therefore cannot be verified here, for submissions or for requests. The unguessable hook.make.com URL over HTTPS protects deliveries. Zapier and n8n verify signatures because their runtimes expose the raw body.
Both redirect_uri values are {{oauth.localRedirectUri}}, which Make's review requires. It resolves to https://www.make.com/oauth/cb/app until Make approves the app, and that address stays valid for the dev version after release. At release the app loses its -f1d7bp suffix and the connection is renamed with it, so the production callback is https://www.make.com/oauth/cb/<released connection name>; Make's support named it https://www.make.com/oauth/cb/formbase (November 2026), and Make confirms it at release. fboc_make allows it since 18 November 2026; if Make confirms a different address at release, add it with step 1 and keep /oauth/cb/app. fboc_make also allows https://www.make.com/oauth/cb/formbase-f1d7bp, which an earlier review email named by mistake, and the four zone callbacks (https://{eu1,eu2,us1,us2}.make.com/oauth/cb/app) that connections used before.
Until version 3 the connection had a Make zone parameter and built the callback from it, because www.make.com/oauth/cb/app answered "Resource not found" for this unapproved app in November 2026. If a new connection fails that way again before approval, report it to Make; do not bring the parameter back.
The Base turns every error into [<status>/<code>] <message> from the API's error envelope, with a fallback for a response that has none, such as a gateway error page. 402 (UPGRADE_REQUIRED: the plan lacks a feature the call needs) and 403 (FORBIDDEN: an id outside the connection's workspace, or a method that needs an API key) are DataError. Both are about one call, and InvalidConfigurationError would switch the whole scenario off.
pagination.body carries only params.cursor. With mergeWithParent at its default, Make merges it into the original request body, so later pages keep method and the other params and only params.cursor changes. Make's pagination page reads as if the body were replaced; Make's review confirmed the merge, and a live run on 18 November 2026 showed it: with the body limit set to 2 for the run, Search requests with Limit 5 and Status canceled returned 5 distinct canceled requests over three pages, without an error (scenario 8666757).
The Form picker of Get a request is a mappable parameter with mappable: false. As a static parameter of an action, Make ran its listForms RPC without the connection and the API answered 401.
The Form is optional. requests.get needs the request ID alone, and the form only shapes the output. With no form, the getRequestInterface RPC skips fields.list (condition) and returns the request summary with empty answers and display collections, so one scenario can fetch requests of different forms.
formstep-make/
├── app/ # Base, module groups, app parameters and the readme Make shows
├── connections/formbase/ # OAuth connection: communication, common data, scopes, parameters
├── functions/ # IML functions: interfaces and inputs built from fields.list, request and event times as dates
├── modules/ # Two instant triggers, four request actions, the search, the universal module
├── webhooks/ # Attached dedicated webhooks: submission_webhook, request_webhook
├── rpcs/ # Form and request options, sample payloads, output interfaces, Create a request inputs
├── scripts/sync-hub.mjs # Pushes the repository to the Make Developer Hub (npm run sync:hub)
└── test/ # Contract tests
cd ~/git/formstep-make
npm ci
npm testThe tests check JSON syntax, OAuth, PKCE, refresh rotation, sanitization, API envelopes, pagination, both webhook lifecycles, every module's request body and output interface, dynamic samples, and that every rpc:// and function reference resolves. They also run the IML functions: the interfaces and inputs built from a field list, the static fallbacks that must equal them, and the dates requestDates, eventDates and answerDates return. They do not run Make's hosted IML runtime, so finish with the live smoke test below.
Make signs in with a fixed confidential OAuth client, fboc_make. The Formstep backend creates it with seedMakeOAuthClient, which is idempotent, the same way it seeds the Zapier client.
Deploy the backend:
cd ~/git/formstep/packages/convex
pnpm convex deployCreate one long random secret and keep it in a password manager. Set it interactively, so the value stays out of the shell history:
pnpm convex env set --prod MAKE_OAUTH_CLIENT_SECRETSeed the production client:
pnpm convex run --prod internal/oauthClients:seedMakeOAuthClient \
'{"redirectUris":["https://www.make.com/oauth/cb/app","https://www.make.com/oauth/cb/formbase","https://www.make.com/oauth/cb/formbase-f1d7bp","https://eu1.make.com/oauth/cb/app","https://eu2.make.com/oauth/cb/app","https://us1.make.com/oauth/cb/app","https://us2.make.com/oauth/cb/app"]}'Expected result:
{ "clientId": "fboc_make", "created": true }Running it again updates the redirect URIs and the secret hash and returns created: false. Keep the plaintext secret: the same value goes into the connection's encrypted Common data in Make. Never commit it to this repository.
npm run sync:hub pushes this repository to the Hub app formbase-f1d7bp version 1 through Make's SDK Apps API, using the mapping in the table below.
- In Make, open your profile, then API access, then Add token, with the scopes
sdk-apps:readandsdk-apps:write. Save it asMAKE_API_TOKEN=...in~/.config/formstep-make/.env, or export it. To push the connection's Common data as well, addMAKE_OAUTH_CLIENT_SECRET=...there (the value set in Convex). Without it the script leaves Common data alone. The script never prints either value. - Run
npm run sync:hub. This is a dry run: it reads every component and section from the Hub and prints the components it would create, the sections that differ (JSON is compared without regard to whitespace), and the Hub components the repository does not have. It reports those and never deletes them. - Run
npm run sync:hub -- --applyto create the missing components, update changed labels and descriptions, and push the differing sections, in the order below.
| Option | Effect |
|---|---|
--dynamic (default) |
Pushes the IML functions and the dynamic files |
--static |
Pushes the *.static.imljson twins and skips the IML functions and the RPCs that call them. For an app where Make has not enabled IML functions (see below) |
--map <repo name>=<hub name> |
Make names connections and webhooks itself, so the script matches them by label. If a label does not match, pin one, for example --map submission_webhook=<hub name> |
The Hub refuses function code over 5000 characters, so the script pushes each function without its comments and indentation, and stops if one is still too long.
The script never publishes, requests review, changes visibility or deletes anything. app/metadata.imljson and app/parameters.imljson are not synced, because the API has no app parameters section.
Create a private app named formbase, then create the components in this order:
- OAuth 2.0 connection
formbase - IML functions
buildSubmissionInterface,buildRequestInterface,buildRequestEventInterface,buildRequestFields,answerDates,eventDates,requestDates.buildRequestInterfaceandbuildRequestEventInterfacecalliml.buildSubmissionInterface, andeventDatesandrequestDatescalliml.answerDates, so add those two first - RPCs
listForms,listRequests,getSampleSubmission,getSubmissionInterface,getSampleRequest,getRequestEventInterface,getRequestInterface,getRequestFields - Attached dedicated web webhooks
submission_webhookandrequest_webhook - Instant triggers
watchPublicLinkSubmissionsandwatchRequests - Actions
createRequest(create),getRequest(read),cancelRequest(update),remindRequest(update, labelled Send a request reminder) - Search
searchRequests - Universal module
makeApiCall
Paste each file into the Hub editor of its component:
| Component | File → Hub field |
|---|---|
App (app/) |
base.imljson → Base, groups.imljson → Groups, parameters.imljson → Parameters, readme.md → Readme |
Connection (connections/formbase/) |
common.imljson → Common data, scope.imljson → Default scope, parameters.imljson → Parameters, communication.imljson → Communication |
IML functions (functions/*.js) |
Functions (IML), one function per file |
RPCs (rpcs/*/) |
api.imljson → Communication |
Webhooks (webhooks/*/) |
parameters.imljson → Parameters, attach.imljson → Attach, detach.imljson → Detach, api.imljson → Communication |
Modules (modules/*/) |
parameters.imljson → Static parameters, expect.imljson → Mappable parameters, api.imljson → Communication, interface.imljson → Interface, samples.imljson → Samples |
A *.static.imljson file replaces its twin only on an app without IML functions.
General settings come from each metadata.imljson. Link each component to its connection and webhook exactly as declared there.
Before you save the connection's Common data, replace REPLACE_IN_MAKE_DEVELOPER_HUB with the plaintext secret stored in MAKE_OAUTH_CLIENT_SECRET. Leave the repository copy as it is.
Make disables custom IML functions for a new app: the Developer Hub has no Functions tab and the + menu offers no "Create Function". Make enables them per app through a helpdesk ticket. They are enabled for formbase-f1d7bp (formstep/formstep#207).
On an app without them, skip the functions and the four RPCs that call them (getSubmissionInterface, getRequestEventInterface, getRequestInterface, getRequestFields), and paste the static twins:
modules/watch_public_link_submissions/interface.static.imljsoninto Watch public link submissions → Interfacemodules/watch_requests/interface.static.imljsoninto Watch requests → Interfacemodules/get_request/interface.static.imljsoninto Get a request → Interfacemodules/create_request/expect.static.imljsoninto Create a request → Mappable parametersapi.static.imljsoninto Communication of Create a request, Get a request, Cancel a request, Send a request reminder and Search requests, and of both webhooks
Each interface and input twin is what its function returns for an unpublished form, with the per-key parts typed any. data.answers and data.display still arrive and map by typing {{1.data.answers.<field key>}}. Create a request takes prefill and context as JSON objects and readonly as a list of field keys, where the dynamic file has one input per field. The test suite keeps each of these twins equal to its function.
The api.static.imljson twins return the API response and the webhook body as they arrive, so a request's times are epoch milliseconds and an event's times are text.
Once functions are enabled, add the seven functions, create the RPCs, and switch each module back to the dynamic file.
Create a test scenario in Make:
- Add Formstep → Watch public link submissions.
- Create a connection. Sign in, select a workspace and approve the consent. Make returns to
www.make.com/oauth/cb/app; a "Resource not found" page there is Make's to fix (see OAuth redirect). The connection label shows the workspace name. - Select a form and
Submission created. Use Make an API call withwebhooks.listto confirm the registered subscription, underbody.data.items, carries noidleWindow. The attach body sends it only for abandoned submissions. - Open the module's output mapping panel and confirm every question of the form is listed under Answers and Answers (display) by its field key. The list comes from
getSubmissionInterface. A form that is not published has no field list yet (fields.listanswerspublished: false), so the module shows the envelope alone until the form is published. - Click Run once, then submit the form.
- Confirm one bundle with
id,type,createdAt(shown as a date, likedata.submission.submittedAt),data.form,data.submission(PDF and language),data.answersanddata.display. The type issubmission.completed.data.answersvalues keep their stored type, anddata.displayis stable text under the same keys. Then edit the submission you just sent (the form must allow editing after submit) and confirm this scenario does not run. A trigger set toSubmission updatedreceives the edit assubmission.updated. - Delete the trigger's webhook in Make. Use Make an API call with
webhooks.listand theformIdto confirm the subscription is gone. Deleting the scenario alone leaves the webhook and its subscription. - Create a webhook on
Submission abandoned, select an idle window, save a partial response and leave it unchanged past that window. Confirm the bundle has the typesubmission.abandoned. The backend sweeps hourly, so delivery can come up to about one hour after the threshold. - Run an error scenario with an unknown API method and confirm a readable
METHOD_NOT_FOUNDerror. - Check pagination without 100 records: set the
limitinmodules/search_requests/api.imljsonto{{min(2, parameters.limit)}}, push, run Search requests with Limit 5 and a Status filter on a form with at least 5 requests in that status, and confirm 5 bundles, all with that status. Then restoremin(100, ...), push, and confirm a dry run reports nothing to push (see Pagination). - Add Create a request with the same form. Picking the form lists one input per prefillable field under Prefill, one per hidden field under Context, and the Read-only fields picker. On an app pushed with
--static,prefillandcontextare JSON inputs. Set an external ID, run once, and confirm the bundle carriesid,urlanddeduplicated: false, and thatcreatedAtandexpiresAtshow as dates. If they show as text, replacenew Date(...)in the three date functions withiml.parseDate(...). Run again with the same inputs and confirmdeduplicated: trueand the sameurl. - Add Watch requests on the same form with
Request completed, run once, and complete the request from step 11 through itsurl. Confirm one bundle withtype: request.completed,data.request.status: completed,data.answersanddata.display. Confirm the Watch public link submissions scenario from step 1 did not run: a completed request fires Watch requests alone. - Create a second request, add Cancel a request with its
idand a reason, and confirm the summary comes backcanceledwithcancelReason. With Watch requests onRequest canceled, confirm onerequest.canceledbundle with onlydata.request. - Run Search requests on the form with the status
canceled, and Get a request with the completed request'sidand its form. Switch Request ID's Map toggle off once and confirm the list shows the workspace's requests. Run Get a request once more with Form left empty and a request of another form: the module must open and run without callingfields.list, and return the request withanswersanddisplay. The mapping panel listsanswersanddisplayper field key, and the bundle carriesoutcome,answers,displayandtimeline. - Run Send a request reminder on a pending request that has a recipient email and is not a test request, and confirm
remindersSentincrements. A second call within 10 minutes fails with[409/CONFLICT] A reminder for this request went out less than ten minutes ago. Try again shortly.Make shows the API's error code and message. The reason,REMINDER_TOO_SOON, is in the response'serror.details.reason.
- For team-only use, save a scenario in the organization and confirm the app installation.
- For invite-link distribution, click Publish. Publishing cannot be undone, and published components cannot be deleted.
- For the Make marketplace, make every module visible, run fresh test scenarios, then fill in the Review tab: the API documentation link, a scenario link for each module, and a scenario with an API error.
The Make review requires sanitization, error handling, interfaces, pagination, limits, date-typed outputs, a universal API module, and recent successful and error scenario logs. This repository covers the code requirements. The logs have to be generated in Make.