Skip to content

AI Copilot & Template Marketplace

In addition to building flows from scratch in Flow Builder, Mahadata provides three shortcuts for creating automation quickly: Generate with AI (describe the bot you want in plain language and the AI drafts the flow), Browse Templates (install ready-made automation from the built-in gallery), and Import/Export (move automation between accounts as JSON files). These features are intended for operators who want to speed up automation creation without manually arranging every node.

You access this feature from the Automations (/automations) — via the button in the top-right toolbar and the menu (⋯) on each automation card (lihat di portal).

Every automation generated from these three paths always opens in the editor after success, so you can adjust credentials, template ID, and URL before activating it.

The Automations toolbar displays the following buttons (in addition to New Automation):

TheIconFunctionRequired permissions
ImportUploadInstall an automation from an exported JSON fileautomation:create
Generate with AIWandCreate an automation draft from a text descriptionautomation:create
Browse TemplatesSparklesInstall an automation from the built-in template galleryautomation:create

Button Export is not on the toolbar — it is located in the menu (⋯) on each automation card, and requires the automation:readpermission. If you do not have the relevant permission, the button appears disabled along with a note.

Click Generate with AI to open the composer dialog. You describe the desired bot in plain language, then the backend hands it to an LLM together with the flow schema Mahadata to generate an automation draft in one go.

FieldRequiredDefaultDescription
Describe the botYes—The bot description in plain language. Minimum 10 characters. Best results when you mention the trigger, the questions asked, the APIs called, and the final confirmation.

Things to know:

  • Example prompts — below the description box there are several example prompts. Clicking one fills the description box as a starting point.
  • Validation — if the description is fewer than 10 characters, the dialog shows the message “Describe the bot in a bit more detail (at least 10 characters).” and does not send the request.
  • Progress indicator — while generating, the dialog shows sequential phases (“Analyzing your prompt…”, “Designing flow structure…”, “Generating nodes & connections…”, “Validating automation…”, “Almost there…”) along with a seconds counter. The process usually takes 15–30 seconds.
  • Placeholder — the generated draft uses placeholder URLs and tokens. Open the editor after generating to fill in your actual credentials and template ID.
  • After success — a “Generated …” notification appears, the draft is added to the list, and the portal immediately opens that automation’s editor.

Click Browse Templates to open the built-in template gallery. The dialog loads a list of templates from the backend and displays each template as a card.

Each template card displays:

ElementDescription
TitleTemplate name (e.g., ready-to-use bot name)
DescriptionSummary of the template’s function
Type badgeAutomation type (automation_type), e.g. flow or ai
TagsTemplate category label displayed as a badge
Trigger keywordsBuilt-in trigger keywords of the template (if any), displayed in monospace
InstallButton to install the template into your account

When you press Install, the template is copied as a new automation owned by your tenant, an “Installed …” notification appears, then the automation editor opens. Like the Generate with AI result, the template is delivered with URLs and placeholder credentials that you must fill in in the editor before it becomes active.

If the gallery is empty, the dialog shows “No templates available yet.”; if the list fails to load, an error message is displayed.

Import and Export allow you to move automations between accounts or environments as JSON files.

ActionLocationHow it works
ExportMenu (⋯) on the automation cardDownloads the automation definition as a file .json. The file name follows the automation name (spaces replaced with underscores, e.g. Bot_Dukungan.json).
ImportButton Import in the toolbarOpens a file picker (.json), reads its contents, then installs it as a new automation in your account.

Note:

  • Import only accepts .jsonfiles. The selected file is read on the browser side and then sent to the backend; if it is not valid JSON or is rejected by the backend, an error notification appears.
  • After a successful import, the new automation appears in the list with an “Imported … successfully.” notification.
  • Export is available to roles with the automation:readpermission; Import requires automation:create.