# How templates work

> Ready-made structures to set up the community without starting from scratch. The first screen "What do you want to do with your community?", the review with optional items and examples, the report with the next steps, Settings › Templates, templates locked by an extension, the limits and who can do what.

A **template** is a ready-made structure: sections and spaces already set up (module, icon, display, who sees, who posts and each module's settings), sometimes with sample content so you start with something filled in. You choose what you want to do with the community, check the preview, untick what you don't want and apply. The structure shows up in the menu right away, in the community's language.

The official templates are maintained by the Memberfy team and described one by one in this section (see [The official templates](#the-official-templates)). Besides them, there are the templates other communities published in the [Template gallery](/modelos/galeria-de-modelos), and the [Structure backup](/modelos/backup-da-estrutura), which keeps your own community's structure.

> [!NOTE]
> **Applying a template only adds.** Nothing that already exists in the community is deleted, renamed or changed. And no member gets an e-mail or a push because of what the template created.

## Three kinds of template

| Kind | What it creates | Where it shows |
|---|---|---|
| **Community** | The whole structure of a kind of community: sections and spaces already set up (Courses, Paid community, Events, School…) | On the first screen of a new community and in **Settings › Templates** |
| **Process** | A section ready for a process, such as OKRs, a 360 review or onboarding | In **Add Section** (on the **Library**) and in **Settings › Templates** |
| **Space** | A single space, set up, in a section you choose | In **Add Space** (on the **Library**) and in **Settings › Templates** |

## Who can do what

| Action | Who |
|---|---|
| See the first screen **What do you want to do with your community?** | Only the owner, and only in a new community |
| See the templates and the preview, and apply (community, process or space) | Owner and admin |
| Change the **Community goals** in **Settings › Templates** | Owner and admin |
| Save, download, import, restore and delete a [structure backup](/modelos/backup-da-estrutura) | Owner and admin |
| Apply and report a [gallery](/modelos/galeria-de-modelos) template; see **My publications** | Owner and admin |
| Publish to the gallery, send a new version and withdraw | Only the owner |

Moderator, finance and member don't see the templates; through the API, they get `403`.

## The first screen: what do you want to do?

In a new community, on the owner's first visit (after changing the first-access password, if needed), the community opens on **What do you want to do with your community?**, with the reminder *"Pick as many as you like. You can change this later in Settings."* Communities that existed before templates never see this screen: for them, the way in is **Settings › Templates**. The admin doesn't see it either; they use the same Settings page.

The goals show as cards, to tick as many as you like:

| Goal | What it brings |
|---|---|
| **Sell courses** | Courses, certificates and downloadable materials |
| **Charge a membership** | Members-only content for subscribers |
| **Run events** | Calendar, registrations and attendance certificates |
| **Engage members and customers** | Welcome, conversation, ideas and satisfaction surveys |
| **Teach classes** | Classes, lessons, enrollments and study plans |
| **Goal management** | OKR cycles with objectives and key results |
| **Performance and 360 reviews** | 360 reviews, 1:1s and development plans |
| **Onboard employees** | A first-30-days plan, tasks and training |
| **Engagement and recognition** | Recurring climate surveys and peer recognition |
| **Mentoring** | A program that pairs mentors and mentees |
| **Coworking and bookings** | Room bookings, attendance, scheduling and parcels |
| **Residential building** | Tickets, bookings, parcels and visitors |

Below, three ways out:

- **See the structure**: goes to the review of what the ticked goals create. With none ticked, the screen asks *"Pick at least one goal."*
- **See all templates**: opens **All templates**, with the community, process and space templates, each with **Preview**. **Back to goals** returns to the previous screen.
- **Start from scratch**: closes the screen for good. The community keeps the usual Home and Feed, and templates stay in **Settings › Templates**.

The chosen goals are kept in the community and show ticked in **Settings › Templates**.

## Templates locked by an extension

Some goals and templates use modules from an extension: **Planning & HR** (360 reviews, OKRs, development plans, 1:1s, recognition, feedback) or **Coworking** (bookings, attendance, scheduling, parcels, visitors, tickets). If the community's plan lacks the extension, the goal or template shows **in gray**, with a lock, the notice *"Available with the Planning & HR extension."* and the **See plans** link. You can't tick or apply it; the API refuses with `403`.

When only one space of the template belongs to a missing extension (the bookings in a Club, for example), the rest goes in and that space shows as **Can't be added**, with the reason.

A goal marked **Coming soon** has no published template yet.

## The review: what will be created

In **Review the structure**, the menu shows as it will look: *"This is how the menu will look. Untick what you don't want. Nothing that already exists is deleted or changed."* With several goals ticked, the templates of each one become **a single structure**, with no repeated space.

Each section and each space shows its icon, name, module, **Who sees** (*everyone*, *members*, *invited only*) and **Who posts** (*everyone*, *the team*, *admins*). The marks next to them say what happens to each item:

| Mark | What it means |
|---|---|
| **Optional** | Comes ticked, but you can untick it. Unticking a section also removes its spaces |
| **Examples** | The space comes with sample content *"to start with something filled in; untick to create it empty"* (a goals cycle's objectives and key results, a 360 review's questions, a plan's steps) |
| **Already exists** | The community already has this item; it stays as it is |
| **Can't be added** | The item stays out, with the reason (missing extension, a module the community can only have once and already has, a space that would be more open than its section) |

At the top, the summary: *"It will create 2 sections and 5 spaces."*, with how many items already exist and how many can't be added. If everything already exists, *"All of this already exists in the community: there is nothing new to create."*

Under **Warnings**, the review lists what changes compared with the template:

- **Repeated address:** if the address (slug) already exists, the item gets a suffix.
- **Access by plan:** a space the template keeps for subscribers goes in closed; choose later the plan that unlocks it.
- **Template already applied:** *"This template was already applied to this community on … Applying it again creates another copy."*

Click **Create the structure**. The screen shows *"It takes a few seconds. Don't close the page."*

## The report and the next steps

At the end, the report says how it went:

- **Done! The structure was created.**, **Part of the structure was created** or **The structure couldn't be created**;
- the count *"Created: N · Already there: N · Not added: N"*;
- **What wasn't added**, item by item, with the reason;
- **Try the missing items again**, when part failed: it creates only what is missing, without duplicating anything;
- **See the N items created**, with the link to each one.

**Next steps** holds the tasks the template doesn't do by itself, each with the space's link: create the product and price to sell, build and publish the first course, create the first event, build the org chart and open the review cycle, review and open the goals cycle, review and publish the survey, register what can be booked, create the first cards, write the first post and, always, invite the first members. On the first screen, **Go to the community** closes everything.

## Settings › Templates

*Role: owner or admin.*

**Settings › Templates** has three blocks.

**Community goals.** The same cards as the first screen, with the chosen goals ticked. Tick a new goal and click **See what is missing**: the review shows only what the community still lacks (*"Only what the community is still missing shows up."*). **Save goals** keeps the choice. Unticking a goal deletes nothing.

**All templates.** *"Add a ready-made structure. Applying a template only adds: nothing that exists is deleted or changed."* Three tabs:

| Tab | What it shows |
|---|---|
| **Official** | Memberfy's templates, in **Community**, **Process** and **Space**. Each card has the name, the description, how many sections and spaces it creates, *"Applied on …"* when it was already applied here, and **Preview** |
| **From communities** | The [gallery](/modelos/galeria-de-modelos): templates other communities published and the Memberfy team reviewed |
| **My publications** | The templates this community sent to the gallery, with the status of each |

**Preview** opens the same review as the first screen. For a space template, first choose the **Section the space goes into**.

**Structure backup: save / restore.** See [Structure backup](/modelos/backup-da-estrutura).

## The Library in Add Section and Add Space

With templates enabled, the create windows start on the **Library**:

- **Add Section** shows the process templates, each creating a new section with its spaces already set up. See [Sections › Create a section](/conceitos/secoes#create-a-section).
- **Add Space** shows the space templates and, below, the **Modules** to start from scratch. The space is created in the section where you clicked. See [Create and organize spaces › Create a space](/espacos/criar-e-organizar-espacos#create-a-space).

In both, **Start from scratch** goes back to the usual form, and the window remembers your last choice in this browser.

## What a template doesn't bring

A template brings structure, never people or money: no member, group, org chart, product, price, coupon, integration, media or member post. What needs those shows in **Next steps** (create the product, build the org chart). Once applied, the template isn't linked to the community: changing the template later doesn't change what you created, and what you created is yours to edit.

## Limits

| Limit | Value |
|---|---|
| Size of a template | Up to 30 sections and 150 spaces |
| Apply a template (official or from the gallery) or restore a backup | 10 per hour per person (in total) |
| Previews | 120 per hour per person |

Above the limit, the action is refused until the hour turns (in the API, `429` with `Retry-After`). A preview creates nothing and doesn't count toward the apply limit. While a template is being applied, the same request waits: *"This template is already being applied. Wait for it to finish and try again."*

## The official templates

**Community:** [Courses](/modelos/cursos), [Paid community](/modelos/comunidade-paga), [Events](/modelos/eventos), [School](/modelos/escola), [Association](/modelos/associacao), [Club](/modelos/clube), [Company / HR](/modelos/empresa-rh), [Coworking](/modelos/coworking) and [Condominium](/modelos/condominio).

**Process:** [New member onboarding](/modelos/onboarding-de-membros), [Employee onboarding](/modelos/onboarding-de-funcionario), [Quarterly OKRs](/modelos/okrs-do-trimestre), [Marketing goals](/modelos/metas-de-marketing), [360 review](/modelos/avaliacao-360), [Recurring engagement survey](/modelos/pesquisa-de-clima), [Mentoring program](/modelos/programa-de-mentoria), [Conference with speakers](/modelos/conferencia), [Course launch](/modelos/lancamento-de-curso) and [Editorial calendar](/modelos/calendario-editorial).

**Space:** [Announcements (team only)](/modelos/espaco-avisos), [Course with certificate](/modelos/espaco-curso-com-certificado), [NPS survey](/modelos/espaco-pesquisa-nps), [Photo gallery](/modelos/espaco-galeria-de-fotos), [Project board](/modelos/espaco-quadro-de-projeto) and [Room bookings](/modelos/espaco-reservas-de-sala).

## With the assistant (MCP)

The assistant sets up the community through the conversation, with the same rules: only the owner and the admin, the preview first and your confirmation to create. The ready recipe **Set up the community from a template** (`setup_community`) starts from the goals. Ask like this:

- *"I want to sell courses and engage the members: set up the structure."*
- *"Show me the preview of the 360 review template before applying."*
- *"Add the New member onboarding template."*

See [Tools · Community › Templates, gallery and structure backup](/mcp/ferramentas-comunidade#templates-gallery-and-structure-backup).

## In the API

The routes live under `/api/community-templates`, with the community only in `X-CommunityId`, for the owner and the admin. `GET /api/community-templates/availability` says whether templates are enabled for the community and whether the first screen is pending; applying accepts `dryRun: true` (preview only) and requires an `idempotencyKey`: sending the same key again after a failure creates only what is missing. See [Templates in the API reference](/api/referencia/templates).

## Frequently asked questions

**Does applying a template delete or change what I already have?**
No. It only adds sections and spaces. What already exists shows as **Already exists** and stays as it is.

**Do members get notified of what the template created?**
No. No e-mail or push goes out because of what the template created.

**Can I apply the same template twice?**
Yes, and the review warns you: applying it again creates another copy, with suffixed addresses.

**I chose "Start from scratch". How do I get back to templates?**
In **Settings › Templates**. The first screen doesn't come back.

**What language are the texts in?**
The community's language: section and space names, descriptions and examples.

## Related

- [Structure backup](/modelos/backup-da-estrutura)
- [Template gallery](/modelos/galeria-de-modelos)
- [Build the structure](/primeiros-passos/monte-a-estrutura)
- [Create and organize spaces](/espacos/criar-e-organizar-espacos)
- [Sections](/conceitos/secoes)
- [Plan and extensions](/configuracoes/plano)
