/ docs

Create artifacts from a workspace template

Turn a published workspace template into a Drive artifact template, test it, and run it on a file or folder.

End userAI engineerProcedureAvailable

An artifact template can run a published workspace template instead of writing text block by block. You choose it on a Drive file or folder, its agent runs the workspace on its own, and each output you picked becomes an artifact on that item: for example a PowerPoint deck and its PDF. Nobody needs to open the workspace or answer its questions.

This page has two parts. An editor (or a higher role) builds and tests the template once in Account → Templates; then any member can run it from Drive.

Before you start

  • Your Emblema administrator must turn on Workflow artifact templates for the deployment. If New template offers only text templates, it is still off.
  • The workspace template must be published in your organization, with an input that takes a Drive file or folder. A template that cannot run unattended is listed but cannot be picked, with the reason.
  • Building a template needs the editor role or higher; running one from Drive needs the member role or higher. Every run uses your credits.

Build the template

  1. Open Account, then Templates under your organization, and choose New template.

  2. Choose Workspace template, give it a Name (and a description if you want one), then choose Continue. The template is created as a draft and its editor opens.

    The New template dialog with Workspace template selected

  3. On the left, pick the source under Workspace templates or Macros. Each one says Eligible with its version, or why it cannot be used, such as "It has no input for a Drive file". Only eligible hides the ones you cannot pick. The middle shows the source's graph.

    The template editor: the sources on the left, the source's graph in the middle, inputs and outputs on the right

  4. In Inputs on the right, check the input set to Drive file: it receives the item the template runs on. Under Runs on, choose A folder, A file, or A file or a folder. Choose the wider option only when the source's instructions handle both kinds, and confirm it with a test on each kind.

  5. For every other required input, choose what it gets: Fixed value sets it now, Ask on creation asks the person who runs it (with your label and default), and Keep leaves the value the source already has. For example, the PPTX deck needs its Library set to a fixed layout library.

    The Inputs tab: the Drive file input runs on a file or a folder, and the library is a fixed value

  6. In Outputs, tick the outputs that become artifacts and give each an Artifact name, such as PowerPoint and PDF. Each run makes one artifact per ticked output.

    The Outputs tab with PowerPoint and PDF ticked and named

  7. Open Preview to see the dialog a member will get, then choose Save draft. The bar at the bottom sums up the template: what it accepts, what it asks, and which artifacts it makes.

Test it and save

A template is saved only from a test of yours that produced every output.

  1. Choose Run test on a file. In Run a test, search Drive and pick a file or folder, answer The template's questions if there are any, and choose Start test.

  2. The test opens the source as a new workspace in a new tab, and its agent builds the result there. Keep that tab open until the agent finishes, and do not edit the workspace. If your browser blocked the tab, allow pop-ups for Emblema and start the test again: the agent's first message travels with that tab.

  3. In the editor, open the Test tab and choose Refresh. A test that made every output reads Passed; one that did not reads Not every output is ready.

  4. Choose Use to save on a passing test, then Save. The template is now available in every member's Drive Create dialog.

    The Test tab with a passing test chosen to save

If the source gets a new version, run a new test before you save again.

Run it from Drive

  1. In Drive, select the file or folder and open its Artifacts tab, then choose Create.

  2. Pick the template. Give the run a Name: the run card and its artifacts take it (for example "Board review – PowerPoint"). Description is optional. Choose the Output Language of the deliverable and fill in the values the template asks for. Under The template's questions, answer the questions its instructions would ask you (for example how many topics or whether to add images), as in a chat: pick an option, tick several where the question allows it, or type your own answer. The run uses them and does not stop to ask. Nothing is preselected: a question you leave alone takes what the run would choose on its own. A run never publishes or shares, so that question is not offered.

    The Create dialog in Drive with the template picked

  3. Choose Create N artifacts. The run starts in the background; you can leave the page.

The Artifacts tab shows the run as one card: its name, its state, when it was created and how long it took, and one row per output. A file output such as a PowerPoint or a PDF downloads its original file; a text output opens its page and downloads as PDF, Word or Markdown. Open the run opens the run's workspace in a new tab; watch it without editing while it runs. The delete button removes the run's artifacts and its workspace once the run has ended.

A finished run card with its PowerPoint and PDF ready to download

If the run's owner later opens Open the run, changes something and runs an output's node again, the card shows that newest finished result and downloads it; a newer run still going shows Updating… on its row, and the last result stays downloadable meanwhile.

The run follows the template's instructions as you. When its agent would ask a question, it takes the recommended answer, and it never takes an answer that publishes, shares, or saves to Drive. To make the same artifacts again, choose Create again.