Linux 软件免费装
Banner图

Deftmind Hookwright - Webhooks, REST API, Data Display & AI Chat

开发者 deftmindlabs
更新时间 2026年8月12日 03:04
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

chat ai automation rest api webhook

下载

1.0.0 1.1.1 1.1.0 1.2.0

详情介绍:

Deftmind Hookwright is the bridge between your website and the automation platform you already use. What happens on your site goes out as a webhook; what your workflow sends back is displayed on your pages. The logic stays where you built it. That is the whole idea. This plugin is not a workflow builder and does not try to be one - you already have n8n, Make, Zapier, a self-hosted tool or a script of your own, with connectors this plugin could never match. What has been missing is the piece that joins them to WordPress without a developer. Send what happens on your site. A visitor opening a page, clicking a button, following a link, or submitting a form - each can become a webhook to an address you choose. Rules are written in plain terms: which pages, which element. No JavaScript to write, and no analytics company in the middle taking a copy as it passes. The destination and its credentials stay on your server and never reach a visitor's browser. And what happens inside WordPress. Publishing a post or page, approving a comment, someone registering - each can fire the same webhook, with no rules to write at all. A post fires the first time it is published and only the first time, so taking something back to draft and publishing it again does not send it twice. Every event says whether it came from the site or from a visitor's browser, so one workflow can handle both. Act on a landing page. If a checkout sends buyers to /thank-you/?order_id=1234, name that parameter and your workflow receives the value directly. One rule replaces a subscription to something that only forwards events for you. Bring the results back. Point any workflow at the plugin's secure endpoint. Payloads arrive into named channels and appear on any page through shortcodes, as formatted articles, data tables, or live-updating feeds. Ask, and show the answer. Add a form to any page. Submissions are proxied through your own server to your webhook, and the reply renders in place without a page reload. If your platform cannot answer on the connection the form opened - or the work takes minutes - callback mode hands it a one-time return URL to post the answer back to instead. Private AI chat, without vendor lock-in. Turn on conversation mode and a form becomes a threaded chat. Each turn sends the running conversation to your workflow, so a retrieval-augmented (RAG) pipeline can answer with context. The intelligence stays in your workflow: no API keys stored in WordPress, any model or vector database, and no third-party chat service in the middle. Anonymous and ephemeral by design. Visitors need no account. Nothing about a conversation is written to your database; the thread lives in the visitor's browser and is gone on reload. For sites answering sensitive questions, that is a feature, not a limitation. Works with the form you already have. If your site already uses a form plugin, add a couple of data attributes to its markup and Hookwright handles the round trip without replacing anything. Built for safety Where data goes This plugin only contacts the URLs you configure. It sends nothing to the plugin author, contains no tracking, and makes no external requests of its own. It is not an AI product and calls no AI service of its own: any intelligence comes from the workflow you point it at. Privacy, and event tracking in particular Event tracking (Flow C) is off until you turn it on, and it is the one feature that can put personal data into a payload. What it does: The part that deserves a decision rather than a default: a URL can carry personal data in its query string. If a redirect lands visitors on /thank-you/?email=someone@example.com, that address is part of the page URL and will be sent - and on that visitor's next tracked click it appears again as the referrer, because the referrer is simply the page they came from. Two settings control this: a list of query parameters to capture deliberately (empty by default, so nothing is extracted unless you name it), and an option to remove query strings from both the page URL and the referrer URL. Where you can, use an order or customer reference and look the person up on the other side rather than sending an email address anywhere. Nothing is hashed. Whatever you choose to capture arrives at your webhook readable and stays readable in your workflow tool's execution history. Hashing would not help: an email address can be recovered from its hash by simply trying addresses, so it would remain personal data - and it would no longer be usable for the thing you captured it for. A reference you can look up is the better answer. You are the data controller for whatever you choose to collect. Disclose it in your privacy policy and obtain consent where the law that applies to you requires it. Third-party code This plugin bundles Parsedown 1.7.4 by Emanuil Rusev (https://parsedown.org), used in safe mode to render Markdown. Parsedown is MIT licensed and the full licence text is reproduced in includes/class-hookwright-markdown.php. The class is renamed so it cannot collide with another plugin bundling its own copy; it is otherwise unmodified. Deftmind Hookwright Pro An optional add-on that lets your automation act on the site, rather than only feed it. Incoming payloads become real WordPress posts or pages - titles, Markdown bodies, categories, tags and featured images mapped to native fields, including custom post types and custom fields - and the reply your workflow sends back to a form can be saved the same way. It also signs outbound requests, so the receiving end can verify nothing was altered in transit. Details and download: https://deftmindlabs.com/hookwright/ Documentation: https://deftmindlabs.com/docs-reference/

安装:

  1. Upload the plugin through Plugins > Add New > Upload, or install from the plugin directory.
  2. Activate it.
  3. Open Deftmind Hookwright in the admin menu and configure a webhook URL, an inbound secret, or both.
  4. Place [hookwright_display] or [hookwright_form] on a page using a Shortcode block.

屏幕截图:

  • Conversation mode turns the same form into a threaded chat. Each turn sends the running conversation to your workflow, so it can answer with context. Nothing is stored on your site.
  • Three ways to get the answer back: wait for it, send one way and ignore the reply, or - for a workflow that takes minutes - let it post the answer to a one-time return URL.
  • One screen connects your site to any automation platform. Your webhook address and any token stay on the server and never reach a visitor's browser.
  • Payloads pushed in from your automation arrive in named channels, with a ready-to-copy shortcode and every displayable field detected for you.
  • Choose which pages and buttons to watch, in plain language. Matching visits and clicks go straight to your automation - no JavaScript to write, and no third-party analytics service in the middle.

升级注意事项:

1.2.0 Adds dropdowns, radio buttons, tick boxes and date fields, and lets a field appear only when an earlier one was answered a certain way. Chat forms can now use callback replies, so a slow workflow can still answer. Existing forms are unaffected. 1.1.1 Corrects the Server environment panel, which could advise ticking the proxy setting when both addresses already matched and the setting would have done nothing. Advice only - no behaviour or stored settings change. 1.1.0 Adds event tracking - what visitors do, and what happens in WordPress - plus per-form cost caps and a Stop waiting control. Everything new is off until you turn it on. Also fixes Settings screen messages that were never displayed, and rate limiting behind a proxy.

常见问题:

Do I need a specific automation platform?

No. Anything that can send or receive an HTTP request with JSON works, whether that is a hosted automation service, a self-hosted workflow tool, or your own script.

Does this include an AI?

No, and deliberately so. Hookwright is the interface; your workflow supplies the intelligence. That means no API keys stored in WordPress and no lock-in to one AI vendor.

Are chat conversations stored?

No. The conversation exists only in the visitor's browser for the life of the page. Nothing is written to your database and nothing is sent to the plugin author.

Where do I get help?

Use this plugin's support forum on WordPress.org. It helps to say what you expected, what happened instead, which response handling mode the form uses, and anything listed under Recent send problems on the Settings screen.

How do I report a security issue or a bug?

Email support@deftmindlabs.com. Please report security problems privately rather than in the public forum, and allow time for a fix to ship before disclosing them. This address is for security reports and bug reports only - for help using the plugin, the support forum above is the faster route.

My workflow takes longer than the request timeout

Use Callback response handling. The plugin hands your workflow a one-time return URL in the payload; the workflow accepts the request, does its work, and posts the answer back whenever it is ready. The visitor keeps waiting on the page, and no PHP worker is held open in the meantime.

Can I fire a webhook when someone lands on a page after checkout?

Yes, and that is what the Events screen is for. Under Deftmind Hookwright > Events, add a rule with the trigger Page loaded and the page URL pattern of your landing page, for example /thank-you/. Set your webhook URL at the top of the same screen and enable it. If the redirect carries data you need, name those parameters in Capture query parameters. A visitor arriving at /thank-you/?order_id=1234 then produces a payload containing "query": { "order_id": "1234" }, which your workflow can act on directly. Prefer an order or customer reference over an email address or a name. A reference means the personal data stays where it already lives and your workflow looks it up; putting an email address in a URL writes it into your server logs, the visitor's browser history, and your workflow tool's execution logs. If you do capture one, tick the option to remove the query string from the page URL so it is sent once rather than twice, and make sure your privacy policy says so.

I updated the plugin and something looks wrong

Clear your caching plugin and any CDN cache, then reload with a hard refresh (Ctrl+Shift+R or Cmd+Shift+R). Page caches often keep serving old HTML and old JavaScript after an update.

My payload shows as a table instead of formatted text

Set the default under Deftmind Hookwright > Settings, choose a mode on the form, or add the attribute directly, for example [hookwright_display render="markdown"]. The shortcode attribute always wins. In auto mode the plugin renders an article when it recognises a text field in the payload and a table otherwise.

Does it work with my automation platform?

Yes. Payload shapes are normalised rather than assumed: wrapper objects such as {"data":{...}} are unwrapped, key names are matched loosely so postTitle and post_title both work, and category or tag lists are accepted as arrays, JSON-encoded strings, arrays of objects, or plain delimited text.

My shortcode shows "No data yet"

The channel name in the shortcode must match the channel your webhook sends exactly. Check Deftmind Hookwright > Channels for the names actually received, then clear your page cache.

Payload HTML shows as plain text

That is intentional. Raw HTML in a payload is escaped rather than rendered, because payload content is treated as untrusted. Send Markdown instead.

更新日志:

1.2.0 1.1.1 1.1.0 Events - send what happens on your site to your automation Cost controls Waiting, and giving up on waiting Fixes For developers 1.0.0