Skip to content
00Days
00Hours
00Mins
00Secs
Black Friday: 50% off Zapify Pro Black Friday & Cyber Monday — use code BFCM26 at checkout. Ends 3 December.

Heroic Knowledge Base Automations

How to Send an Email When a Heroic Knowledge Base Article Gets a Negative Rating

When an article does not help, the author should hear about it while it is fresh. To send an email when a Heroic Knowledge Base article gets a negative rating, use Zapify's An article is rated trigger with Rating set to A negative rating and the Send an email action. Heroic Knowledge Base is a Zapify PRO integration; sending the email is free.

What this automation does

The automation is one trigger plus one action:

  • Trigger: An article is rated (HKB_ARTICLE_RATED, Heroic Knowledge Base)
  • Action: Send an email (WP_SEND_EMAIL, WordPress)

Whenever a visitor rates an article negatively, Zapify emails the address you choose with the article's title and link.

PRO feature

Heroic Knowledge Base is a Zapify PRO integration, so this automation needs an active Zapify PRO licence.

No Connection needed for Heroic Knowledge Base

Heroic Knowledge Base runs on your own site, so there is no API key to paste for it and nothing to set up under Settings → Connections.

Before you start

  • Heroic Knowledge Base installed and active, with article ratings turned on.
  • A working mail setup so WordPress can send email.

How to build the automation

Step 1: Create a new automation

  1. In the WordPress admin, go to Zapify → Automations.
  2. Click Add New to open the builder.
  3. Name it clearly, such as Email me about unhelpful articles.

Create a new automation

Step 2: Add the "An article is rated" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose Heroic Knowledge Base as the app.

  1. Select An article is rated.

  1. Configure the trigger:
Field Required What it does
Article No Any article, or one specific article.
Rating No A positive or a negative rating, A positive rating, or A negative rating.

Set Rating to A negative rating.

Step 3: Add the "Send an email" action

  1. Click Add Action.

Add an action

  1. Choose WordPress as the app.

Select WordPress as the action

  1. Select Send an email.

Select Send an email

Step 4: Configure the action

Field Required What it does
To Yes Recipient address. Comma-separate several, or insert a token.
Subject Yes The subject line.
Format Yes HTML (default) or Plain text.
Body Yes The message. Insert tokens with the {} button.
Cc / Bcc No Extra recipients.
From name / From email No Override the sender.
Reply to No Set where replies go.

For example:

  • To: docs@yourdomain.com, or your knowledge base editor's address
  • Subject: Unhelpful article: {Article title}
  • Body: A visitor rated "{Article title}" {Rating}. Read it and decide whether it needs updating: {Article URL}

Complete the Send an email action

Step 5: Set the steps Live and save

Each trigger and action has its own Live / Off / Draft switch. A new automation starts as a Draft and does nothing until its steps are Live.

  1. Set the trigger and every action to Live.
  2. Click Save.

Set the automation live

Step 6: Test it

Give one of your articles a negative rating from the front of your site. The email should arrive within a minute. If it does not, open Zapify → Logs to confirm the run and read what the action reported.

Tokens you can use

Token What it holds
Article ID The article's numeric ID.
Article title The article's title.
Article URL The article's address on your site.
Rating The word positive or negative.
Voter name / Voter email Who voted, only when the visitor was logged in. Empty otherwise.

Conclusion

With the An article is rated trigger and the Send an email action, a badly rated article reaches the person who can fix it. To keep a record instead, see creating a Trello card. For the full trigger, read Heroic Knowledge Base triggers.

FAQs

How do I get an email when a Heroic Knowledge Base article gets a negative rating?

Use Zapify PRO. Build an automation with the An article is rated trigger, set Rating to A negative rating, and add a Send an email action.

Is this free in Zapify?

Heroic Knowledge Base is a Zapify PRO integration. The Send an email action is free.

Can I email the visitor who voted?

Only if they were logged in. Voter email is empty for anonymous visitors, so do not rely on it.

Can I get an email for positive ratings too?

Yes. Leave Rating on A positive or a negative rating, and use the Rating token in the message to say which it was.

Do I need to write any code?

No. Everything is configured in the Zapify visual builder.

Was this page helpful?