HARPA.AI
LIBRARYAPIGUIDESAI COMMANDSBLOG

📚  WordPress Blog Writer

Uses the web page content to write a WordPress-ready blog post in JSON format and send it via Make.com, Zapier, n8n etc. #grid #scenario ⭐️ DO NOT FORGET TO SET UP THE FORMAT ⭐️ ⭐️ RUN > CLICK SETTINGS⭐️ ⭐️ BY DEFAULT - HTML.⭐️ Make.com Template: https://make.com/en/integration/13848-daily-wordpress-blogging-automate-your-posts-with-google-sheets-harpa?templatePublicId=13848

Created by HARPA AI
Updated on Mar 13, 19:46
Installed 125 times

How to Use

IMPORT COMMAND

Content

- type: control
  action: show
- type: group
  steps:
    - type: calc
      func: set
      param: g.wordpress.format
      format: json
      value:
        title: Short, catchy title with primary keyword (60 chars max)
        body: >-
          HTML content without H1. Must include SEO-optimized long-form article
          text with H2-H4 subheadings, 2000 words and more.
        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.
        faq: >-
          HTML formatted text, starting with an 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.
      condition: '{{g.wordpress.format}} = '
      label: SET DEFAULT FORMAT
    - param: g.wordpress.instructions
      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.instructions}} = '
      label: SET DEFAULT INSTRUCTIONS
      type: calc
      func: set
  condition: '{{g.wordpress.instructions}} ='
  label: SET DEFAULT INSTRUCTIONS
- type: ask
  param: option
  message: |-
    **JSON format:**

    {{g.wordpress.format}}

    **Style Instructions:**

    ```markdown
    {{g.wordpress.instructions}}
    ```
  options:
    - label: ✅ START
      value: start
    - label: ⚙️ SETTINGS
      value: settings
  default: ''
  vision:
    enabled: false
    mode: area
    send: true
    hint: ''
  optionsInvalid: false
- type: jump
  to: SETTINGS
  condition: '{{option}} = 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.instructions}}  


    - 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]:
  condition: '{{option}} = start'
  isolated: true
  param: 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: 


    {{g.wordpress.instructions}} 


    - 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.format}}

    ```


    - 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]:
  type: gpt
  condition: '{{option}} = start'
  isolated: false
  param: ''
- func: extract-json
  type: calc
  to: json
  param: gpt
  index: all
- type: say
  message: '{{json}}'
- param: action
  options:
    - label: ✅ DONE
      value: done
    - label: ⚙️ SETTINGS
      value: settings
  vision:
    enabled: false
    mode: area
    hint: ''
    send: true
  type: ask
  message: ''
  default: ''
  optionsInvalid: false
- type: stop
  condition: '{{action}} = done'
- steps:
    - 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.


        **Current template:** 


        {{g.wordpress.format}}
      options: null
      vision:
        enabled: false
        mode: area
        hint: ''
        send: true
      label: ASK FORMAT
      type: ask
      param: g.wordpress.format
      default: ''
      optionsInvalid: false
    - type: calc
      func: extract-json
      to: g.wordpress.format
      param: g.wordpress.format
      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.instructions}}

        ```
      vision:
        enabled: false
        mode: area
        hint: ''
        send: true
      label: ASK INSTRUCTIONS
      type: ask
      param: g.wordpress.instructions
      options: null
      default: ''
      optionsInvalid: false
    - type: say
      message: ✅ Saved.
    - type: stop
  condition:
    - '{{action}} = settings'
    - '{{option}} = settings'
  type: group
  label: 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