Create content
How does the assistant save a reportage to my library?
dorna_create_content saves a reportage to your content library: title, optional up-title and sub-title, lead, the text as HTML, keywords and a project.
- dorna_create_content
- Changes data
Parameters
| Field | Type | Description |
|---|---|---|
title | string | Required. The content's title. |
upTitle | string | An optional line above the title. |
subTitle | string | An optional line under the title. |
lead | string | The opening paragraph. |
text | string | Required. The body as HTML: <p> paragraphs, <h2> headings and <a href> links. Not Markdown. |
keywords | array | Keywords of the content. |
projectId | string (ID) | Optional project to file the content under. |
What it returns
The new content's ID and number. Use dorna_attach_content_to_order to attach it to an order.
Example
Ask your assistant: Write a 500-word reportage about our launch and save it to my library.
The assistant then calls the tool like this:
{
"name": "dorna_create_content",
"arguments": {
"title": "Our new payments app is live",
"text": "<p>First paragraph.</p>"
}
}A typical result looks like this (the values are examples):
{
"contentId": "64f1a2b3c4d5e6f7a8b9c0d1",
"number": 1042,
"title": "Our new payments app is live",
"projectId": "64f1a2b3c4d5e6f7a8b9c0d1",
"words": 540,
"followLinks": 2
}Access and confirmation
Changes data: it adds something new to your account or creates a link.
The text is HTML, not Markdown. Your assistant shows you the text before it saves.
Related tools: dorna_contents dorna_update_content dorna_attach_content_to_order
Still have a question?
Open this guide in your own AI assistant and ask it.