HARPA.AI
LIBRARYAPIGUIDESAI COMMANDSBLOG

📚  Autopost to WordPress in 1 Сlick (Webhook)

Turn Any Webpage or YouTube video into a WordPress Blog Draft. Guide: https://harpa.ai/grid/wordpress-1-click-post-draft Make.com Scenario: https://eu1.make.com/templates/13922?templatePublicId=13922

Created by HARPA AI
Updated on Mar 14, 12:52
Installed 193 times
SENDS HTTP REQUESTS

How to Use

IMPORT COMMAND

Content

- type: group
  steps:
    - type: calc
      func: set
      param: g.wordpress.format1
      format: json
      value:
        title: Short, catchy title with primary keyword (60 chars max)
        body: >-
          Content without H1. Must include SEO-optimized long-form article text
          with H2-H4 subheadings, 2000 words and more. In the end - H2 FAQ
          heading, followed by 4 H3 headings containing natural language
          questions that target long-tail keywords. Each question should have a
          concise 40-60 word answer that includes relevant keywords and data.
        meta: >-
          SEO meta description ≤155 chars containing primary keyword and value
          proposition
        slug: >-
          Lowercase hyphen-separated URL derived from title (e.g.
          'seo-best-practices-2024'). Max 60 chars, no stopwords/special chars.
      condition: '{{g.wordpress.format1}} = '
      label: SET DEFAULT FORMAT
    - param: g.wordpress.instructions1
      format: auto
      value: >-
        Create a comprehensive, long-form content (2000+ words), adhering to
        Google's E-A-T guidelines, with the goal of ranking high on Google.

        - Do not include the publication date or mention the author of the
        article, even if it's referenced somewhere.

        - Use an H1 tag for the article's title, 8-12 H2s for main sections, and
        H3s for sub-sections.

        - Employ keyword-rich, meaningful subheadings that are direct and
        precise.

        - Focus on creating in-depth, informative paragraphs without an
        introduction or conclusion.

        - In the article text, include external links where possible.
      condition: '{{g.wordpress.instructions1}} = '
      label: SET DEFAULT INSTRUCTIONS
      type: calc
      func: set
    - type: say
      message: >-
        💡 This command extracts content from your open web page, formats it
        into a WordPress-ready blog post, and sends it to your WordPress site as
        a draft using Make.com or n8n.


        [Make.com Scenario
        Template](https://eu1.make.com/templates/13922?templatePublicId=13922)
      label: SAY SETTINGS
    - message: >-
        ⚙️ **The command is made for the standard JSON format used by WordPress,
        but you can change the template and revert to the default setting at any
        time.**


        **Currently:** 


        {{g.wordpress.format1}}


        Ensure you send valid JSON. Ask the AI to verify it if needed.
      vision:
        enabled: false
        mode: area
        hint: ''
        send: true
      label: ASK FORMAT
      type: ask
      param: askFormat
      options:
        - label: ✅ USE CURRENT FORMAT
          value: current
        - $custom
      default: ''
      optionsInvalid: false
    - type: calc
      func: set
      param: g.wordpress.format1
      format: ''
      value: '{{g.wordpress.format1}}'
      condition: '{{askFormat}} = current'
      label: USE CURRENT FORMAT
    - type: calc
      func: set
      param: g.wordpress.format1
      format: ''
      value: '{{askFormat}}'
      condition: '{{askFormat.option}} = $custom'
      label: USE CUSTOM FORMAT
    - func: extract-json
      type: calc
      to: g.wordpress.format1
      param: g.wordpress.format1
      index: ''
    - message: >-
        💬 **You can customize additional writing instructions not included in
        the JSON format by describing the required writing style or other
        features. Currently:**


        ```markdown

        {{g.wordpress.instructions1}}

        ```
      vision:
        enabled: false
        mode: area
        hint: ''
        send: true
      label: ASK INSTRUCTIONS
      type: ask
      param: askInstructions
      options:
        - label: ✅ USE CURRENT INSTRUCTIONS
          value: current
        - $custom
      default: ''
      optionsInvalid: false
    - type: calc
      func: set
      param: g.wordpress.instructions1
      format: ''
      value: '{{g.wordpress.instructions1}}'
      condition: '{{askInstructions}} = current'
      label: USE CURRENT INSTRUCTIONS
    - type: calc
      func: set
      param: g.wordpress.instructions1
      format: ''
      value: '{{askInstructions}}'
      condition: '{{askInstructions.option}} = $custom'
      label: USE CUSTOM INSTRUCTIONS
    - type: ask
      param: g.wordpress.markup1
      message: '**Required Markup:**'
      options:
        - label: 🏷️ HTML
          value: html
        - label: ✍️ MARKDOWN
          value: markdown
        - $custom
      default: ''
      vision:
        enabled: false
        mode: area
        send: true
        hint: ''
      label: ENTER MARKUP
      optionsInvalid: false
    - func: set
      type: calc
      param: g.wordpress.markup1
      format: ''
      value: Markdown
      label: MARKDOWN MARKUP
      condition: '{{g.wordpress.markup1}} = markdown'
    - func: set
      type: calc
      param: g.wordpress.markup1
      format: ''
      value: HTML
      label: HTML MARKUP
      condition: '{{g.wordpress.markup1}} = html'
    - type: ask
      param: g.wordpress.webhook1
      message: |-
        **Enter your Webhook URL.**

        Currently: 
        ```
        {{g.wordpress.webhook1}}
        ```

        [Guide](https://eu1.make.com/templates/13922?templatePublicId=13922)
      options: null
      default: ''
      vision:
        enabled: false
        mode: area
        send: true
        hint: ''
      label: ENTER WEBHOOK URL
      optionsInvalid: false
  label: FIRST RUN SETTINGS
  condition: '{{g.wordpress.webhook1}} ='
- param: option
  message: |-
    **Markup:**  {{g.wordpress.markup1}}

    **Format:** 

    {{g.wordpress.format1}}


    **Style Instructions:**

    ```markdown
    {{g.wordpress.instructions1}}
    ```

    **Webhook URL:**

    ```
    {{g.wordpress.webhook1}}
    ```
  options:
    - label: ✅ START
      value: start
    - label: ⚙️ SETTINGS
      value: settings
    - label: 🔗 CHANGE WEBHOOK URL
      value: webhook
    - label: ♻️ RESTORE DEFAULT SETUP
      value: default
  vision:
    enabled: false
    mode: area
    hint: ''
    send: true
  type: ask
  default: ''
  optionsInvalid: false
- type: jump
  condition: '{{option}} = webhook'
  to: ENTER WEBHOOK URL
- type: jump
  condition: '{{option}} = settings'
  to: SAY SETTINGS
- type: jump
  condition: '{{option}} = default'
  to: RESTORE DEFAULT SETTINGS
- type: gpt
  prompt: >-
    Please ignore all previous instructions.  

    Respond only in {{language}}.  


    Act as a professional blogger and SEO expert. I will provide you with
    webpage content. I want you to find the main content, analyze it, and
    write:  

    1) A comprehensive article outline with h1-h3 for subsequent writing,  

    2) LSI keywords that should be used in the article to outperform the content
    I provided,  

    3) If available, external links that could be used from the current article
    I provided in my article that I am writing, including anchor words.  


    Instructions:  

    - All this information should help you later write a long-form article
    optimized for Google Search rankings.  

    - Do not add additional comments or general phrases, write only the answer
    to my task.  

    - For the subsequent article, I have the following criteria, take this into
    account in the outline.  


    {{g.wordpress.instructions1}}  


    - Do not start writing the article or perform anything that goes beyond the
    current task.  


    [WEBPAGE CONTENT]: {{page}}  


    [SEO-optimized Article outline, LSI keywords, and links for insertion into
    the article]:
  isolated: true
  param: gpt
- type: gpt
  prompt: >-
    Now I want you, based on your previous response (outline, keywords and
    links) and the previous context, to write me a comprehensive long-form
    article in {{language}} that covers all the main topics and questions
    discussed, optimized for Google Search rankings.


    Follow the instructions:


    Please use {{g.wordpress.markup1}} format for generating content suitable
    for WordPress websites. 


    {{g.wordpress.instructions1}} 


    - The content of each h2 or h3 chapter should be at least 4 comprehensive
    sentences.

    - Respond only with a JSON, no extra comments or general phrases, fill in
    all fields that I specify below.

    - Do not echo my prompt.

    - Wrap your JSON response in a code block.

    - Respond with a JSON file adhering to this format:


    ```json

    {{g.wordpress.format1}}

    ```


    - Make sure you filled in all JSON fields according to my instructions.


    [Please provide your JSON response with all fields and a maximum length
    long-form article]:
  isolated: false
  param: gpt
- type: calc
  func: extract-json
  to: json
  param: gpt
  index: ''
- type: request
  url: '{{g.wordpress.webhook1}}'
  body: '{{json}}'
  auth:
    enabled: false
    username: ''
    password: ''
  method: auto
  headers: null
  param: ''
  bodyInvalid: true
- type: stop
- type: group
  steps:
    - param: g.wordpress.instructions1
      format: auto
      value: >-
        Create a comprehensive, long-form content (2000+ words), adhering to
        Google's E-A-T guidelines, with the goal of ranking high on Google.

        - Do not include the publication date or mention the author of the
        article, even if it's referenced somewhere.

        - Use an H1 tag for the article's title, 8-12 H2s for main sections, and
        H3s for sub-sections.

        - Employ keyword-rich, meaningful subheadings that are direct and
        precise.

        - Focus on creating in-depth, informative paragraphs without an
        introduction or conclusion.

        - In the article text, include external links where possible.
      label: SET DEFAULT INSTRUCTIONS
      type: calc
      func: set
    - type: calc
      func: set
      param: g.wordpress.format1
      format: json
      value:
        title: Short, catchy title with primary keyword (60 chars max)
        body: >-
          Content without H1. Must include SEO-optimized long-form article text
          with H2-H4 subheadings, 2000 words and more. In the end - H2 FAQ
          heading, followed by 4 H3 headings containing natural language
          questions that target long-tail keywords. Each question should have a
          concise 40-60 word answer that includes relevant keywords and data.
        meta: >-
          SEO meta description ≤155 chars containing primary keyword and value
          proposition
        slug: >-
          Lowercase hyphen-separated URL derived from title (e.g.
          'seo-best-practices-2024'). Max 60 chars, no stopwords/special chars.
      label: SET DEFAULT FORMAT
    - type: say
      message: |
        ✅ **Default settings restored:**

        **Style:**

        ```markdown
        {{g.wordpress.instructions1}}
        ```

        **Format:**

        {{g.wordpress.format1}}
    - type: jump
      to: ENTER MARKUP
  label: RESTORE DEFAULT SETTINGS
Contact us
HomeUse CasesGuidesPrivacy PolicyTerms of Service
CAN WE STORE COOKIES?
Our website uses cookies for the purposes of accessibility and security. They also allow us to gather statistics in order to improve the website for you. More info: Privacy Policy