Design → AI agent → MCP customization

Design your form or landing page in a tool like Canva, then let an AI agent on the JomForm MCP apply it.

The flow

Design the interface in a tool like Canva, then let an AI agent apply it over the JomForm MCP.

  1. Design the form or landing page: logo, hero image, brand colours and a font.
  2. Connect an MCP client such as Claude or Cursor to https://mcp.jomform.com/mcp. It registers itself via OAuth 2.1, with no API keys.
  3. Upload the assets with upload_media.
  4. Apply the theme and the landing page with set_form_theme and set_workspace_landing_page.
  5. Set product_image_size and product_image_layout for the product photo.
  6. Add custom_css and custom_js for anything the theme controls do not cover.
Tip: JomForm keeps authority over prices and the payment flow. You design the look, and the agent applies it.

Media and custom code

Upload images and code assets (css, js, html, svg and woff2) with upload_media.

Images are optimised and served straight away. Code assets are scanned before they are served.

An SVG must be a well-formed XML document: a browser renders it as XML, so text before the <svg> tag is refused, not stored as a broken image.

For full control, set custom_css for styling and layout and custom_js for form behaviour, both through set_form_theme.

Custom JS is owner-gated and scanned for malicious code before it goes live. In a custom HTML form it runs on the outer page, and the HTML body stays inert.

A blocked script is not saved: the save is refused and names the Custom JS field.

The message says which kind of pattern caused it: code execution, obfuscation or beacon code, or an external URL. Remove that part and save again.

Product images on forms

Choose how each product photo appears on your form: size and layout.

  • Size: small 52px, medium 96px, large 160px, or hidden.
  • Layout: thumbnail-left (the default) or image-top, a menu-card look with a full-width photo above the name.

The renderer serves the matching optimised media variant for the chosen size.

Set it in Form Settings → General, with a live preview, or over MCP with set_form_theme and product_image_size / product_image_layout.

Your brand colour on the public form

The colour you pick under Form Settings → General (Theme colour) paints the public form's own chrome.

  • The submit button, with its hover and pressed states.
  • The checkbox and radio accent, and the product price text.
  • The footer and confirmation links.

It does not override anything you set in custom_css, and an embedded image or video keeps its own colours.

The button label colour is chosen for you: a dark brand colour gets white text and a light one gets dark text.

The hover and pressed shades are derived from your colour, not from a fixed indigo, so a green or amber button reads as one button in three states.

Each state is measured against the WCAG AA 4.5:1 floor before it is used.

Set it in Form Settings → General and the button previews it at once. Over MCP the field is theme.primary through set_form_theme.

Note: Leave it unset and the form uses the default indigo, the same colour the dashboard uses.

Building an order form

Build order forms with a drag-and-drop builder.

Add fields (name, email, phone, textarea, text, number, select, radio, checkbox, date, time, website, address, consent, hidden, list, repeater, image-choice, captcha).

Attach products and publish to your workspace URL or a custom domain.

A form is a payment form or a response-only one. The mode decides what it collects and what its entries are called, and it is set in the builder.

An agent can build the same form: upsert_form creates or updates it, and register_form_fields sets its input fields under a strict contract.

publish_form then takes it live.

Publishing a form

Publishing puts your form on the internet at its own URL, the link a buyer opens or the address you embed.

Press Publish in the builder and JomForm confirms it at once: a panel names the form as live, shows the public URL, and offers Open form and Copy link.

If the URL cannot be resolved yet, for example because the workspace subdomain is not set up, the panel says so rather than showing a dead link.

A response-mode form may always go live: collecting answers is its whole job, and having no products is normal.

A payment form needs something to sell. Publishing one with no products is refused once with a clear message, because such a form can never take money.

You can confirm and publish it anyway, but its page then tells buyers it is not accepting orders instead of showing a checkout that cannot start.

It starts selling once you add a product: a product block, a priced option, a shipping choice or an enabled restaurant menu.

A form built without blocks sells its product snapshot. Adding a product at any time removes the question.

When a form cannot take orders

A product block with no product selected counts as nothing to sell, even when your catalogue has products.

The builder says so beside the form, quotes the sentence buyers see and links straight to that block.

A block pointing at a permanently deleted product gets the same signal, and the form list labels the row Not accepting orders instead of LIVE.

Every path that publishes

The same rule covers every way a form goes live: the Publish button, the status control in Form Settings, and publishing several forms from the Forms list.

It covers AI agents too: publish_form and bulk_forms both accept acknowledge, so an agent is told the same thing you are.

A form that is already live is never asked about again.

The link preview card

Every live form has its own share card at /og/your-form-slug.png: its title, workspace and address, drawn as a 1200×630 image.

That is what a chat app or social site shows when the link is pasted.

A draft is not served at all. Its card answers 404, exactly as its page does, so its title never becomes public through the preview URL.

A private form's card is served only to a browser that has already entered the password, and it is never handed to a shared cache.

An unlisted form is live, so its card is served like a published one's.

The card is dropped from the cache the moment a form stops being live: set back to draft, switched to private, or moved to the trash.

Cards are cached for five minutes at a time rather than a day, so a deployment that cannot clear that cache stops showing a stale one within minutes.

The printable QR stand

The QR stand follows the page rule too. It prints the form's title and a QR of its public URL, so a draft's stand answers 404.

A private form's stand is served only to a browser that has already entered the password.

Printing is not taken away from you: Print stand in Form Settings opens your own signed-in copy of the same stand, which works even on a draft.

The QR image behind the stand (/qr/your-form-slug.png) follows the same rule and the same cache promise.

It encodes your form's address, which tells anyone who fetches it that a form exists at that slug, so a form that is not live answers 404 there.

A private form's image is served only to a browser that has entered the password, and the image leaves the cache when a form stops being live.

It is cached five minutes at a time rather than a day, so a stale one stops within minutes even without a cache purge.

Form URLs and slugs (rename a form)

Every form is served at the slug you gave it: your-workspace.jomform.com/your-form-slug, or the same path on a verified custom domain.

The slug is editable. Change it in Form Settings → General and the form moves to the new URL immediately.

A slug is 1–40 characters of a-z, 0-9 and dashes. Uppercase and spaces are normalised.

It must be free within your workspace. A rename onto a slug another of your forms already serves is refused with an error rather than overwriting either form's URL.

A name JomForm keeps for itself is refused as well, on both creating and renaming a form: login, api, docs, and the paths it already serves, privacy, terms and refund.

The refusal names the rule, so pick a different slug. Nothing is stored when a slug is refused.

Renaming keeps the old URL working

Renaming never orphans the URL you already handed out: the old slug keeps working through a temporary redirect (HTTP 301) to the new one.

A printed QR stand, an embedded iframe, a menu's attached order form and a link already shared in a campaign all keep resolving.

The redirect is temporary, not a permanent alias. If another form later claims the freed slug, that live form wins and the old URL serves it.

Slugs cannot be renamed on templates, because a template has no public URL.

AI agents do the same thing with the slug parameter on upsert_form, which returns the slug the form now owns.

Custom domains

Put your forms on your own domain, for example shop.yourname.com.

Add the domain, point a CNAME to custom.jomform.com, and verify.

With Cloudflare linked, JomForm can auto-create the CNAME for you.

Auto-TLS (Let's Encrypt) uses your account email as the ACME contact by default. You can change it per domain in Settings → Domains.

Affiliate marketing (referral links and commission)

An affiliate is a promoter you pay for sales they bring. You give each one a short code, and their link is your storefront URL with ?aff=CODE appended.

For example, https://your-workspace.jomform.com/?aff=ALI.

When a buyer arrives through that link and completes an order, the code is stored on the sale, so the sale is attributed to that affiliate.

You can then see what they earned. Attribution works on menu orders too, because the code is carried to the basket checkout.

The form or menu page reads ?aff=CODE and carries it into the order it submits.

There is no cookie and no redirect chain: the code on the URL the buyer used is what attributes the sale.

Note: A buyer with no ?aff= produces an unattributed sale.

Create an affiliate link

In the dashboard, open Settings → Affiliates and add a code, an optional name and a commission percentage.

The new affiliate appears in the list with its code, its commission and its ready-to-share referral URL.

Over MCP, call create_affiliate with the workspace_id, a code, an optional name and email, and commission_pct (10 = 10%).

It returns the affiliate, including the referral_url.

A code must be unique within the workspace, and creating or changing an affiliate needs the manage or admin role.

Set the commission

Commission is a percentage stored per affiliate. Change it with set_affiliate_commission, which takes affiliate_id and the new commission_pct.

The rate used is the one stored on the affiliate, so a change applies to sales attributed from then on.

It is not written back onto sales that already happened.

Read an affiliate's sales

Use list_affiliates to get the affiliate ids, then get_affiliate_sales with the affiliate_id. It is read-only.

Each row gives the sale reference, status, total, currency and date.

Attribution is recorded on every sale that came in with the code. The commission percentage is the affiliate's current rate.

Note: The figures are returned, not a pre-computed payout ledger.

REST endpoints

The same surface is available over the REST API, authenticated as the workspace:

Method and pathPurpose
GET /v1/workspaces/{id}/affiliatesList the workspace's affiliates.
POST /v1/workspaces/{id}/affiliatesCreate an affiliate (code, name, email, commission_pct).
PUT /v1/workspaces/{id}/affiliates/{affid}/commissionSet the affiliate's commission percentage.
GET /v1/workspaces/{id}/affiliates/{affid}/salesRead the sales attributed to that affiliate.

Templates (save a form and reuse it)

A template is a saved form you can start new forms from.

It is private to your workspace: it never appears in another merchant's gallery, and it has no draft or published state. Build one either way:

  • Save form as template in the builder, or on the Templates page after picking a form. Its fields and design are copied into a template.
  • New template on the Templates page, an empty template ready to fill in.

The built-in gallery covers order forms, booking, donation, contact, survey and more. Cloning one copies it into your workspace as a new draft.

The Templates page lists your templates with Edit, Use template, Rename and Delete.

Edit opens the template in the same builder you use for forms, so you change its fields, blocks and design, then Save.

The builder knows it is editing a template: there is no slug, no Publish and no Form Settings, because a template is not published and has no public URL.

Editing a template does not change forms already created from it. Cloning copies the fields and design at that moment, so the two are independent afterwards.

Publishing a template into the gallery

Publishing is therefore checked. A template missing either field is refused with a clear message.

The same holds for one carrying only spaces where either field belongs, so it never appears as a bare title.

The gallery trims both the category and the intro line before rendering, so an older template shows its category without surrounding spaces.

It shows no category chip at all rather than a chip holding only spaces.

Publishing several forms at once behaves differently on purpose: a bulk publish skips such a template while still publishing the other forms you selected.

That way one unfinished template cannot block a whole batch. The skipped ids are reported back, by the REST bulk endpoint and by the bulk_forms tool.

Both return those ids with a reason and count only the forms that really changed, so the skip is never silent.

Language: dashboard vs your forms

JomForm has two separate language settings, and they are deliberately not the same one.

The supported languages are English, Bahasa Melayu, 中文, தமிழ் and العربية; Arabic also switches the dashboard to right-to-left.

Dashboard language is the one you see when signed in. It is a per-user setting.

Change it on Profile (Dashboard language), reached by clicking your account block, your name and email at the bottom of the sidebar or the menu on a phone.

It follows you into any browser you sign in from, on any machine. It never changes what a buyer sees.

The knowledge base and the legal pages are the exception: they are written in English only, so a guide or policy stays English even when your dashboard is in Arabic.

Only the labels on the docs index are translated.

Note: Until you pick one, the dashboard uses the language last used in that browser, and English if there is none.

Choosing your customers' language

Form language is the language your customers see on a public form, the menu, the thank-you page and the password gate.

It is set per form or per workspace, never per browser and never from your dashboard choice.

Resolution is form → workspace → English: a per-form language wins when set. Otherwise the form uses its workspace's Default form language (Settings → Storefront), and otherwise English.

Set the workspace default once and every form you publish inherits it, so a Malay storefront does not need the language set on each form.

Over MCP the workspace default is set_workspace_settings with default_lang, and the per-form language is config.lang on upsert_form. An unsupported code is rejected.

The translation covers the buyer-facing chrome: field labels, the total, the submit button, error messages, the menu and the footer links (Privacy, Terms, Refund).

Your own field labels, product names, prices and descriptions are shown exactly as you typed them. JomForm does not machine-translate your content.

Which language your emails use

Every email JomForm sends follows the same two-axis rule: the language of the recipient, not of whoever triggered it.

  • Emails to you and your team (verify your address, sign-in link, password reset, 2FA codes, connecting a social login, a workspace invitation, a feedback reply) use the recipient's dashboard language.
  • Emails to your customers (a payment receipt, the new sale and new response alerts) use the form language, resolved form → workspace → English.

A guest who pays without an account still gets the language your form is set to, because there is no profile to ask.

A never-edited notification rule is translated too. You get your own wording back only once you edit that rule.

An unset or unsupported language falls back to English, never to Malay. Arabic emails are right-to-left and declare their own language.

The subject and the body are judged separately, so editing one does not pin the other. Only the half you typed is treated as yours.

Empty receipt and notification fields

A new workspace's receipt subject and body start empty.

An empty field is not a missing subject: it means JomForm's own receipt, written in the language your form is set to.

There is nothing for you to fill in, which is why the fields show a grey example instead of text to delete.

A form's default notification rule works the same way.

Related: the placeholder reference lists every {{token}} you can use in a subject or body.

Your workspace address, and names that are reserved

A workspace slug becomes your public address: a workspace called acme is served at acme.jomform.com, and your forms live under it.

A slug is 3–40 characters of a-z, 0-9 and dashes. It cannot end in jomform, and it must not be a name reserved for JomForm.

Reserved names are the addresses JomForm owns or has to protect. They fall into three groups.

  • Infrastructure: www, api, app, mail, s3.
  • Product and edge addresses already routed: docs, mcp, templates, custom.
  • Sensitive names that read as JomForm's own business or support channel: support, help, status, billing, admin, account, login, payments, checkout.

The reason is impersonation: billing.jomform.com would let a buyer be asked for card or invoice details under JomForm's name, so a workspace cannot hold it.

If you try one, JomForm says the name is reserved, not that your slug was malformed, and asks you to pick another.

The same rule applies in the dashboard, over REST (POST /v1/workspaces, code reserved_subdomain) and through the create_workspace MCP tool.

Renaming is covered too. Changing an address in Settings → Workspace, over REST (PATCH /v1/workspaces/{id}) or with update_workspace, is refused with reserved_subdomain. The workspace keeps the address it had.

Image URLs must be https://

Every image or URL you set must be an absolute https:// URL.

That covers the form logo (set_form_theme), the landing-page hero and logo (set_workspace_landing_page or Settings → Storefront) and a form's image block.

Product images (create_product and update_product, or the Products editor) follow the same rule.

Uploaded media already qualifies: upload_media returns an absolute https URL on your own media host, which is accepted everywhere.

Any other scheme (data:, http:, javascript:, or a relative path) is rejected when you save it, with a clear message, on both the dashboard and the MCP.

This is deliberate. The page renders the value into an <img src> for your buyers, and a browser will not load an unsafe scheme.

Rejecting it at entry means you see the problem immediately instead of getting a silently missing image on the live page.

Note: Leaving an image field empty is always allowed. It means no image, or when updating, keep the current one.

MCP tools used

These are the MCP tools this flow uses. The full list is in the MCP tool reference.

ToolPurpose
set_form_themeApply brand colours, font, logo, layout, spacing, product_image_size, product_image_layout, custom_css and custom_js to a form.
set_workspace_landing_pageCustomise the workspace storefront: hero, subtitle, body, image, theme colours, logo and CTAs.
upload_mediaUpload images and code assets (css, js, html, svg, woff2) for the landing page and forms.
upsert_formCreate or update a form, including its optional theme.
generate_formDraft a validated form config (blocks and styling) from a natural-language prompt.
set_form_confirmationsSet the confirmation message buyers see after submitting.
set_menu_pageTurn a form into a restaurant menu (per-form: it takes a form_id) and set its categories, best-sellers and optional order form.
get_menu_pageRead a form's restaurant-menu configuration.
generate_qrGenerate a QR code (optionally per table) for a published form.
create_affiliateCreate an affiliate link (code, name and commission %) for a workspace. Returns the referral URL.
list_affiliatesList a workspace's affiliates with their codes, commission and referral URLs.
get_affiliate_salesRead the sales attributed to one affiliate (read-only).
set_affiliate_commissionChange an affiliate's commission rate.

Example prompt for your agent

"Apply my Canva design to my JomForm checkout:
Paste this into your agent.
1. Upload the logo and hero image from my design (upload_media).
2. Set the form theme to my brand colours, font and layout (set_form_theme).
3. Customise my landing page hero and CTA (set_workspace_landing_page).
4. Add custom CSS for spacing and custom JS to auto-focus the first field (set_form_theme)."

JomForm keeps authority over prices and the payment flow: the agent customises the look and feel, never the checkout logic.

See the MCP tool reference for the full list of tools.