Workflow: HTTP Medium Automation

Workflow Details

Download Workflow
{
    "nodes": [
        {
            "name": "Medium",
            "type": "n8n-nodes-base.medium",
            "position": [
                650,
                450
            ],
            "parameters": {
                "title": "={{$json[\"body\"][\"entry\"][\"Title\"]}}",
                "content": "={{$json[\"body\"][\"entry\"][\"PostContent\"]}}",
                "contentFormat": "markdown",
                "additionalFields": []
            },
            "credentials": {
                "mediumApi": "Medium Credentials"
            },
            "typeVersion": 1
        },
        {
            "name": "Webhook",
            "type": "n8n-nodes-base.webhook",
            "position": [
                450,
                300
            ],
            "webhookId": "",
            "parameters": {
                "path": "",
                "options": [],
                "httpMethod": "POST",
                "authentication": "headerAuth"
            },
            "credentials": {
                "httpHeaderAuth": "Strapi Webhook Credentials"
            },
            "typeVersion": 1
        },
        {
            "name": "HTTP Request",
            "type": "n8n-nodes-base.httpRequest",
            "position": [
                650,
                200
            ],
            "parameters": {
                "url": "https:\/\/dev.to\/api\/articles",
                "options": [],
                "requestMethod": "POST",
                "authentication": "headerAuth",
                "jsonParameters": true,
                "bodyParametersJson": "={\n\t\"article\": {\n\t\t\"title\": \"{{$json[\"body\"][\"entry\"][\"Title\"]}}\",\n\t\t\"published\": true,\n\t\t\"body_markdown\": \"{{$json[\"body\"][\"entry\"][\"PostContent\"]}}\",\n\t\t\"tags\":[\"{{$json[\"body\"][\"entry\"][\"Tag\"]}}\"]\n\t}\n}",
                "headerParametersJson": "{\"Content-Type\": \"application\/json\"}"
            },
            "credentials": {
                "httpHeaderAuth": "Dev.to Credentials"
            },
            "typeVersion": 1
        }
    ],
    "connections": {
        "Webhook": {
            "main": [
                [
                    {
                        "node": "HTTP Request",
                        "type": "main",
                        "index": 0
                    },
                    {
                        "node": "Medium",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Wait Webhook Send Webhook
View
Import multiple CSV to GoogleSheet
View
Code Webhook Create Webhook
View
Code Extractfromfile Create Webhook
View
Manual Extractfromfile Send Webhook
View
Workflow Importer
View
Backup workflows to git repository
View
Telegram Chat with Buffering
View
HubSpot Mailchimp Create Scheduled
View
Webhook Respondtowebhook Create Webhook
View