Menu
Stage Article Draft
Stage an article draft
PUT
/articles/{id}/draftUse it in a workflow
- Add a step and choose the Intercom connector.
- Pick the Stage Article Draft action (under Articles).
- Fill in the fields below, then reference the result from later steps as
{{stageArticleDraft.response.data}}.
Request
Path parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"title": "Thanks for everything",
"description": "Description of the Article",
"body": "<p>This is the body in html</p>",
"body_markdown": "## Updated heading\n\nNew content.\n",
"author_id": 1295,
"state": "draft",
"parent_id": "18",
"parent_type": "collection",
"translated_content": {
"type": "article_translated_content",
"ar": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"bg": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"bs": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"ca": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"cs": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"da": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"de": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"el": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"en": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"es": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
},
"et": {
"type": "article_content",
"title": "How to create a new article",
"description": "This article will show you how to create a new article.",
"body": "This is the body of the article.",
"body_markdown": "# How to create a new article\n\nThis is the body of the article.\n",
"author_id": "5017691",
"state": "draft",
"created_at": 1663597223,
"updated_at": 1663597260,
"has_unpublished_changes": false,
"draft_updated_at": 1663597260,
"url": "string"
}
},
"audience_ids": [
1,
2
],
"ai_chatbot_availability": true,
"ai_copilot_availability": true
}
Response
Returns 200 with an object. Read it in later steps with {{stageArticleDraft.response.data.<field>}}.
{
"statistics": {
"type": "article_statistics",
"views": 10,
"conversions": 0,
"reactions": 10,
"happy_reaction_percentage": 40,
"neutral_reaction_percentage": 40,
"sad_reaction_percentage": 0,
"fin_involvements": 10,
"fin_resolutions": 8,
"fin_resolution_rate": 80
}
}
Need more? See the Intercom guide for connection setup and behaviour shared by every action.
Was this page helpful?