Connect dev.to to your Wiro AI agent
List, draft, publish and edit articles on dev.to.
My Node webhook tutorial on dev.to still uses the old request library. Can you switch the code to fetch?
Found it: Verifying webhook signatures in Node, published in 2023, with 4,812 page views. I swapped its five request calls for the built-in fetch and set the version note to Node 22; the prose, title, tags and cover are unchanged. I saved it when you approved the edit, and readers see the new code now.
Overview
What dev.to does for your agent
A DEV Community API key has no scopes, so the agent acts as the whole dev.to account it belongs to. Each new article starts as an unpublished Markdown draft with its tags, cover image, series, canonical URL and organization, goes live only on request, and can be edited later while live or pulled back to a draft. The agent also reads page views, reactions, comments and new followers, and every article it saves carries the AI disclosure that dev.to's community rules ask for.
Use cases
What your Wiro agent can do with dev.to
Cross-post a blog article to dev.to with a canonical link to your site
Give the agent the link to an article on your own blog. It adapts the Markdown for dev.to, picks up to four tags, adds the cover image and sets the canonical URL to your original so search engines credit your site, then saves it as a draft for you to read.
Turn a support answer or an internal script into a tutorial
Paste a long answer you gave a customer, or a script your team relies on, and ask for a tutorial. The agent writes a step by step article with code blocks and a short intro, adds it to a series if you name one, and leaves it as a draft with a preview link.
Weekly dev.to numbers in Chat
Every Monday a Scheduled Task reads last week's page views, reactions, comments and new followers, compares them with the week before and posts a short summary in Chat that names the articles that grew and the ones that stalled.
Publish under your company's dev.to organization
If your account is a member of a dev.to organization, the agent saves articles under it so they show on the organization's page, publishes them when you approve, and later reports on the organization's article stats.
Bring older tutorials up to date
Ask the agent to find your articles that use an old version of a library. It reads each body, updates the code and the text around it, and saves the edit once you approve. Because dev.to shows a change to readers right away, each edit is held for your yes in Chat by default.
Collect reader questions from the comments
Ask which comments on your articles still need an answer. The agent reads the comment threads, lists the open questions with the article each belongs to and drafts a reply for each one, so you can answer quickly on dev.to.
How it works
How dev.to works with Wiro
- 01
Connect dev.to
Deploy an agent, open its Connectors tab, choose dev.to and paste what the Connect dialog asks for.
- 02
Choose what each action may do
Set each dev.to action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for dev.to work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsInside your agent. Its requests go straight from the agent to dev.to.
- Where its data goes
dev.to - How it signs inPaste a key. It is stored encrypted and never shown again.
What it can do
Actions your Wiro agent can take in dev.to
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 4 actions
Looks things up in dev.to and changes nothing.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| List my dev.to articles | Lists the account's own dev.to articles, newest first: drafts and published articles, or one of the two. | Allow | Allow |
| Get a dev.to article with its Markdown | Returns one article with its Markdown body. | Allow | Allow |
| Get dev.to analytics | The account's dev.to statistics: with start, page views, reactions, comments, new followers and the average read time per day and their totals; without start, the lifetime totals. | Allow | Allow |
| Read other dev.to data | Reads what the actions above do not cover, straight from the dev.to API. | Allow | Allow |
Create and send 1 action
Creates or sends something new in dev.to, such as a post, a message or an email.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Create a dev.to draft article | Saves a new article on dev.to as an unpublished draft; nothing becomes public. | Ask | Allow |
Change and delete 2 actions
Changes or deletes what is already in dev.to.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Publish or update a dev.to article | Changes one of the account's dev.to articles. | Ask | Allow |
| Make other dev.to changes | Sends any other change straight to the dev.to API. | Ask | Allow |
How to connect
Connect dev.to to Wiro
Open the agent's Connectors tab, choose dev.to and paste what it asks for. Values are stored encrypted and never shown again.
What the Connect dialog asks for
| Field | About |
|---|---|
| DEV Community API KeyRequired | Publish articles to your own DEV Community (dev.to) account with your API key. Articles are saved as drafts first and go live only when you say publish.
The key is free and has no scopes: it acts as your account and can create and edit your articles, so keep it private. An account can hold up to 10 keys. To cut access, click Revoke next to the key on the same page. dev.to limits writing to about one change per second and roughly 10 new articles per 30 seconds, with tighter limits for accounts only a few days old. To post under an organization, your account must be a member of it. Every article carries dev.to's AI disclosure, as its community rules require. |
Troubleshooting
Troubleshooting dev.to
What to check when dev.to stops working for your agent.
- An invalid or expired key If dev.to refuses the key, for example after it was deleted or expired, the agent's dev.to actions fail. Create a new key in dev.to, then open the agent's Connectors tab, choose dev.to and paste it in place of the old one.
- Limits set by dev.to dev.to limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your dev.to plan.
For developers
Connect dev.to from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "devto" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "devto", "title": "dev.to", "category": "content", "authtype": "fields", "credentialfields": [ { "name": "apikey", "label": "DEV Community API Key", "required": true, "secret": true, "format": "password" } ], "tools": [ { "name": "list_my_articles", "readonly": true }, { "name": "get_article", "readonly": true } ] } ] } - 02
Connect with the values
Send what the person typed in your form. A value you leave out keeps what the connection holds; an empty one clears it.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "devto", "values": { "apikey": "YOUR_SECRET" } }Response { "result": true, "errors": [], "status": "connected", "applied": 1, "restart": "scheduled" } - 03
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "devto", "title": "dev.to", "authtype": "fields", "status": "connected", "accounts": {}, "savedvariables": [ "apikey" ], "lasterror": null } ] } - 04
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "devto" }Response { "result": true, "errors": [], "removed": true, "revoked": false, "restart": "scheduled" }
Questions
dev.to and Wiro FAQ
What can a dev.to AI agent do with my account?
It writes articles in Markdown and saves them as drafts, publishes a draft when you say so, edits published articles and can turn one back into a draft. It sets up to four tags, a cover image, a series, a canonical URL and an organization. It also lists your drafts and published articles and reads your dev.to analytics: page views, reactions, comments, new followers and average read time.
How do I connect dev.to to an AI agent?
Sign in to dev.to, open Settings, then Extensions, and under DEV Community API Keys generate a key with a description such as AI agent. The 24-character key goes into the dev.to card on your agent's Connectors tab, which you can also open by telling the agent in Chat that you want dev.to connected. The key works at once.
Will the agent publish on dev.to by itself?
Every new article is saved as an unpublished draft, and nothing is public until a draft is published. By default, saving, publishing and editing are the steps that pause for your approval when you work in Chat; reading articles and stats does not pause. Recurring Scheduled Tasks go ahead without that pause unless you pick Ask or Block for them, and the choice is made action by action.
How does the agent handle dev.to's AI disclosure?
dev.to's community rules ask authors to say how AI was involved in an article, and every article the agent saves carries that disclosure. An article the agent wrote is marked as written by AI, one you wrote with its help as AI-assisted, and only text a person wrote alone is marked as written without AI. You can ask for a different level before you publish if the writing was mostly yours.
Where is my dev.to API key kept?
Once saved, the key is encrypted, never displayed again and out of the AI model's reach. A dev.to key has no scopes and acts as your whole account, so keep it private. To cut access, click Revoke next to it under Extensions in your dev.to settings, then disconnect dev.to on the Connectors tab.
What limits does dev.to set?
dev.to allows about one write per second and roughly 10 new articles every 30 seconds, with tighter limits for accounts that are only a few days old. It refuses a title the account already used in the last five minutes, and an account can hold up to 10 API keys. Page views are visible to the author only, and the agent reads them through your key.
Does it cost anything to automate dev.to publishing?
No. DEV Community API keys are free, and Connectors are included in every agent plan at no extra cost. dev.to's rate limits still apply to your account.
Is this a dev.to MCP server?
It acts like one for your agent, with nothing to install: the connector runs inside the agent and calls dev.to's API with your key. You paste the key once, and the agent's dev.to actions are ready.
Access
Revoke dev.to access
Disconnect it on the agent's Connectors tab at any time; the keys or sign-in it holds are deleted.
Related connectors
More content connectors for your Wiro agent
Hashnode
Draft and publish posts on your Hashnode publication.
Qiita
Draft and publish articles on Qiita.
WordPress
Write, schedule and publish posts and media on your WordPress site.
GitBook
Read and edit the spaces and pages of your GitBook docs.
HackMD
Create, read and edit notes in HackMD.
beehiiv
Newsletter posts and subscribers on beehiiv.
Put dev.to to work with Wiro
Deploy an agent and connect dev.to from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.