The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Mastodon Example Workflow (Create + Cleanup)",
"nodes": [
{
"parameters": {},
"id": "0a6f98d1-0f89-4b7d-97c7-0f29fd9ad201",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
300,
260
]
},
{
"parameters": {
"url": "https://mastodon.social",
"authType": "oauth2",
"resource": "status",
"operation": "create",
"status": "=Hello from n8n! Test post at {{$now.toISO()}}",
"additionalFields": {
"visibility": "unlisted"
}
},
"id": "aef5f54f-b14a-4729-8cff-8a4f4dfaf002",
"name": "Create Status",
"type": "n8n-nodes-the-mastodon.mastodon",
"typeVersion": 1,
"position": [
560,
260
],
"credentials": {
"mastodonOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"url": "https://mastodon.social",
"authType": "oauth2",
"resource": "status",
"operation": "context",
"statusId": "={{ $('Create Status').item.json.id }}"
},
"id": "9c2e52b4-a6a5-4f75-b7b8-95b8a0a2af03",
"name": "Get Status Context",
"type": "n8n-nodes-the-mastodon.mastodon",
"typeVersion": 1,
"position": [
820,
260
],
"credentials": {
"mastodonOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"url": "https://mastodon.social",
"authType": "oauth2",
"resource": "bookmarks",
"operation": "addBookmark",
"statusId": "={{ $('Create Status').item.json.id }}"
},
"id": "3b173ce1-8e79-4213-b125-0418d131b904",
"name": "Add Bookmark",
"type": "n8n-nodes-the-mastodon.mastodon",
"typeVersion": 1,
"position": [
1080,
260
],
"credentials": {
"mastodonOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"url": "https://mastodon.social",
"authType": "oauth2",
"resource": "bookmarks",
"operation": "removeBookmark",
"statusId": "={{ $('Create Status').item.json.id }}"
},
"id": "b8ea870d-e8f4-4f6e-a8d9-5fd5abe6d905",
"name": "Remove Bookmark Cleanup",
"type": "n8n-nodes-the-mastodon.mastodon",
"typeVersion": 1,
"position": [
1340,
260
],
"credentials": {
"mastodonOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"url": "https://mastodon.social",
"authType": "oauth2",
"resource": "status",
"operation": "delete",
"statusId": "={{ $('Create Status').item.json.id }}"
},
"id": "f54cb657-f16e-466b-b479-3cf74c7cbf06",
"name": "Delete Status Cleanup",
"type": "n8n-nodes-the-mastodon.mastodon",
"typeVersion": 1,
"position": [
1600,
260
],
"credentials": {
"mastodonOAuth2Api": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Create Status",
"type": "main",
"index": 0
}
]
]
},
"Create Status": {
"main": [
[
{
"node": "Get Status Context",
"type": "main",
"index": 0
}
]
]
},
"Get Status Context": {
"main": [
[
{
"node": "Add Bookmark",
"type": "main",
"index": 0
}
]
]
},
"Add Bookmark": {
"main": [
[
{
"node": "Remove Bookmark Cleanup",
"type": "main",
"index": 0
}
]
]
},
"Remove Bookmark Cleanup": {
"main": [
[
{
"node": "Delete Status Cleanup",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupLink": "https://docs.n8n.io/integrations/builtin/credentials/mastodon/"
},
"tags": [
{
"name": "example",
"color": "#55ff55"
}
]
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
mastodonOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Mastodon Example Workflow (Create + Cleanup). Uses n8n-nodes-the-mastodon. Event-driven trigger; 6 nodes.
Source: https://github.com/redoracle/n8n-nodes-the-mastodon/blob/0f14817741db710c4c5dd6b838416d3a6c3c895d/examples/Mastodon_example_workflow.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Product - Google Search Console API Examples. Uses httpRequest. Event-driven trigger; 36 nodes.
Metavoir Creative Intake To Review Brief. Event-driven trigger; 21 nodes.
Retry on fail except for known error Template. Uses stopAndError, noOp, stickyNote, manualTrigger. Event-driven trigger; 19 nodes.
02 - Flow Control Demo (IF & Switch). Event-driven trigger; 16 nodes.
Multi-Service Screenshot Scraping: ScraperAPI, Scrapingdog, & ScreenshotOne. Uses manualTrigger, httpRequest, stickyNote, dateTime. Event-driven trigger; 13 nodes.