> For the complete documentation index, see [llms.txt](https://docs.diaflow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diaflow.io/workspace/community/template/how-to-create-and-publish-a-template.md).

# How to Create and Publish a Template

To share your valuable automation expertise with the global Diaflow Community, you must convert your finished workflow into a publishable template and submit it for review.

## 1. Initiating Template Creation

There are two primary ways to start the template creation process:

### Option A: From the Community Profile Page

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FGcBBdHjcxhG4EfgtnUb4%2Fcursorful-video-1776770010402.gif?alt=media&amp;token=a7d3d825-3f30-4273-a42d-6fe9018707e7" alt=""><figcaption></figcaption></figure>

1. Navigate to your "**My Community Profile**" page.
2. Click the "**Create**" button located next to the **Sort by** menu.
3. A modal titled "**Create a Template**" will appear. It outlines the three main steps: Create a flow, convert it into a template, and publish your template.
4. Click "**Create a new flow**" inside the modal to be redirected to the Workflow Builder.

### Option B: From the Workflow Builder

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FT6N2pKxugsKNgIrWxXsb%2Fcursorful-video-1776768825898.gif?alt=media&amp;token=b9e76933-db85-48cd-b141-0755bf389be2" alt=""><figcaption></figcaption></figure>

1. Open the specific workflow you wish to convert into a template.
2. Click the three-dot menu (...) in the top right corner of the builder canvas.
3. Select "**Create template**" from the dropdown menu.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FGbPZ4LA23SKqWaqFMquA%2Frounded-image%20(16).png?alt=media&amp;token=e020abb8-d976-4041-ae69-78556c335009" alt=""><figcaption></figcaption></figure>

## 2. Converting Your Flow to a Template (Settings Popup)

Once you click "**Create template**," a Settings pop-up will appear, where you can fill in the details.

{% hint style="info" %}
***Note:** If your flow is currently unpublished, the system will automatically publish it before showing the pop-up. If it is already published, the pop-up will appear immediately.*
{% endhint %}

**Criteria for submission:** Before submitting, make sure your template meets these quality standards:

* **Practical & Original:** Your template must be useful, unique, and not a copy of an existing template.
* **Clear Description:** Write a well-structured description so other users know exactly how to use it.

**Required Fields to Fill In:**

* **Name:** Enter a clear and descriptive name. Maximum 60 characters. *Example: "Project Manager Video Script".*
* **Categories:** Select relevant tags, such as Marketing or Finance, so users can easily find your template in the marketplace.
* **Description:** Provide a detailed guide on what the workflow does, its key benefits, and how to set it up.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FEx9q0m90Y8mAWLKyAdlD%2Fimage%207%20(1).png?alt=media&amp;token=f24e5ac4-6ec3-4eb9-b35e-67e4c335a453" alt=""><figcaption></figcaption></figure>

## 3. Submitting for Review

* Once all required fields are complete, click the **Create** button.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FHBr0MH2VLYrODcu44BoW%2Frounded-image%20(2).png?alt=media&amp;token=425a95c6-670f-42bf-89da-5b5b1d1bc25d" alt=""><figcaption></figcaption></figure>

* **Success message:** You will see a notification that says, *"Your template has been created successfully! We will review it soon. This usually takes a few days."*

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2F2bjlZrdlTYFsAt3LM2dw%2Fimage%204%20(1).png?alt=media&amp;token=7b77bf86-7bd4-467c-b0d5-1bd23b3c3c7e" alt=""><figcaption></figcaption></figure>

The system will then redirect you back to your **My Community Profile** page. Your new template will appear there with the status **Waiting for review**.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FXPB2NCJVuy2OncMqroQK%2Frounded-image%20(17).png?alt=media&amp;token=7ca2547e-7c57-46e5-bbce-aa691e181310" alt=""><figcaption></figcaption></figure>

## 4. Template Review Status Flow

After submission, your template will go through the following stages. You can check these statuses on your profile:

* **Waiting for review:** The template is in the queue.
* **In Review:** The Admin Team is actively checking its quality and functionality.
* **Public (Approved):** The Admin has approved your template. It is now visible on the Community page.
* **Need change (Rejected):** Issues were found, such as a broken flow or a missing description. *(You must edit the flow to fix the issues and resubmit it.)*

## 5. Template Approved

Once approved by the Diaflow team, the template will switch to **Public** status.

At this point, your template will appear on the Community page.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2F4MUixPNpDxF8wviAJ1OK%2Fimage%202%20(2).png?alt=media&amp;token=0362d4d7-622a-48d9-8a07-fdb774eefc7d" alt=""><figcaption></figcaption></figure>

If you want to switch it to **Private** mode, see the [Managing Your Shared Templates guide](/workspace/community/template/managing-your-shared-templates.md).

#### Need help?

* *Need to make edits, fix a rejected template, or change its visibility? See* [*Managing Your Shared Templates.*](/workspace/community/template/managing-your-shared-templates.md)
* *Want to ensure your submission gets approved quickly? Review our* [*Community Template Submission Guidelines.*](/workspace/community/template/community-template-submission-guidelines.md)
