Attach content to order
How does an order get its content or backlink?
dorna_attach_content_to_order gives an order what it is waiting for: a content from your library for a reportage order, or a target page and anchor text for a backlink order.
- dorna_attach_content_to_order
- Changes data
- Asks before it runs
Parameters
| Field | Type | Description |
|---|---|---|
orderId | string (ID) | Required. The order's ID, from dorna_orders. |
contentId | string (ID) | For a reportage order: the content to attach, from dorna_contents or dorna_create_content. |
targetUrl | string | For a backlink order: the page the link points to. |
anchorText | string | For a backlink order: the link's anchor text. |
What it returns
The order's new status. It replaces any content or link already attached, and works only while the order's canEdit is true.
Example
Ask your assistant: Attach my launch reportage to the order waiting for content.
The assistant then calls the tool like this:
{
"name": "dorna_attach_content_to_order",
"arguments": {
"orderId": "64f1a2b3c4d5e6f7a8b9c0d1"
}
}A typical result looks like this (the values are examples):
{
"orderId": "64f1a2b3c4d5e6f7a8b9c0d1",
"number": 1042,
"status": "IN_PROGRESS",
"contentId": "64f1a2b3c4d5e6f7a8b9c0d1",
"targetUrl": "https://example.com/pricing",
"anchorText": "payment gateway"
}Access and confirmation
Changes or deletes existing data. Your assistant asks you before every call.
Your assistant confirms which content or link goes to which order before it attaches.
Related tools: dorna_orders dorna_contents dorna_create_content
Still have a question?
Open this guide in your own AI assistant and ask it.