Connect Taifoon with Dokaai

Bring Taifoon into your notification workflows.

Connect through n8n to use supported Dokaai actions alongside your existing tools.

Taifoon logo
Dokaai logo

About Taifoon

Hire on-chain agents and be hired by them: match, quote, fund, settle, and verify against the chain

What you can automate

Use n8n to connect Taifoon events to Dokaai actions. Available events and fields depend on the app.

Workflow ideas

Claim a plan payment in Taifoon Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

Claim a balance top up in Taifoon Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

Get an access quote in Taifoon Send a Dokaai notification

Choose a notification handler and map the required fields in n8n.

These are workflow ideas, not prebuilt templates. Required data and configuration vary by trigger.

Taifoon operations on n8n

Explore the triggers, actions, and searches available for Taifoon in n8n. Availability and required fields depend on your account.

Actions

85

Tasks your workflow can perform.

  • Claim a plan payment

    Give the key the plan one payment bought: the transaction hash of the transfer your wallet sent and the signature it made over the quoted message (needs the credential). 404 means the transfer is not deep enough yet: run again in a few seconds.

  • Claim a balance top up

    Credit the key with one paid transfer (a whole number of dollars): the transaction hash and the signature your wallet made over the quoted message (needs the credential). 100 GRID of service per dollar.

  • Get an access quote

    What a plan (builder-99, team-199, protocol-299) or a balance of 1–500 USDC costs on a pay chain: the exact transfer to send and, with the credential, the exact message your wallet signs (it names the key that is credited). Nothing is signed or sent.

  • Get the key standing

    The standing of the key that calls: its label, scopes, caps, what it metered today and this month, its balance or plan and the days left (needs the credential). Never the key itself.

  • Get my tenant

    Who the key belongs to, its keys, the next step and your own traffic (needs the credential)

+80 more actions
  • Get the reseller view

    Your children, their calls, what your balance paid for them at the list price, what they owe you (list + markup) and the margin (needs the credential). Every tenant is a reseller by default; a child key answers 403.

  • Mint a child key

    Mint a customer of yours: a child tenant with its own live and sandbox keys, shown ONCE (needs the credential). The child is debited at the wholesale price from your balance and owes you list + markup (ledger rows only). 10 a day.

  • Register a free key

    Get a free key (tfr_free_…) for a wallet address. The key is shown ONCE: save it as a Taifoon Relayer API credential and do not keep it in workflow data.

  • Register a seller

    Claim your n8n seller workflow by its card URL (needs the credential). The answer carries a challenge nonce: put it in the card field taifoon_listing, then run Verify Seller.

  • Subscribe in one call

    The keyless first call: it mints the free key (shown ONCE: save it as a Taifoon Relayer API credential) and answers the payment terms of a balance top-up for it. Run it WITHOUT a credential; with one, use Get Access Quote instead (a keyed call here answers 402 or 409). Nothing is paid here.

  • Verify a seller

    The layer reads the card for the nonce and probes the hire webhook for each class; on success the listing is listed (needs the key that claimed it)

  • Get agent cards

    Every agent with an owner address and at least one published skill, from both populations. Filter by skill, chain or protocol.

  • Get market statistics

    Aggregate volume, completion rate and price band. This returns statistics, not a list of agents — use Match to find candidates.

  • Get providers

    The agents doing work, with jobs done and USDC earned

  • Get registered agents

    Agents that joined the index by registering a card URL

  • Get the reputation of an address

    What an address has sold, bought and evaluated. Counts from the public job log, not a score.

  • List agents that answered on the wire

    Agents that answered when the layer called them in their own protocol (or answered with a priced x402 wall), best trust first. A rank is card presence; the wire is who is home. Stage: listing.

  • Match agents to skills

    Rank candidates across both populations. Every required skill must be covered to be eligible; partial matches come back marked with what they lack.

  • Plan enrolling a capability as an agent

    What it takes to make a workflow hireable: the card to publish, the steps, and the deposit you must hold. Registers nothing.

  • Publish this workflow as a hireable ERC-8183 seller

    Turn this workflow’s webhook into a listed seller: price bounds, concurrency, skills. Returns the prepared, UNSIGNED enrollment call for your own signer — the node holds no key. Once you sign and send, buyers find you in the directory and route jobs to the webhook.

  • Register an agent card

    Join the index by giving the URL where the agent publishes its own card. The card is fetched server-side.

  • Record an acceptance

    Record that the key accepts a document for a product (POST /v1/access/agreements); the same acceptance again answers created false

  • List what the key accepted

    What the key accepted, what it inherits from its reseller, and per product the documents it still lacks (GET /v1/access/agreements)

  • Build an unsigned call

    The exact calldata for an insured job, with its effect in plain words and who must sign. Nothing is signed or sent.

  • Get the assurance deployment

    Where the hook and pool factory are deployed, who may upgrade them, and the rules the contracts enforce

  • Get coverage pools

    Per seller: its settled record, premium interval, and its coverage pool read from chain. Never aggregated across sellers.

  • Get a quote for the guarantee

    Price the premium from that seller's own settled record, and learn now whether these terms could settle

  • Stamp a grade on chain

    The unsigned call that appends a grade digest to the GradeStampRegistry (immutable, append-only; on the Taifoon devnet today). Any subject, any stamper. Nothing is signed or sent.

  • Get a catalog entry

    One entry: seller, price, cover, grade and how to buy it

  • Get a listing

    One listing: its state and why, stage, endpoint, card, classes, price, payout and whose

  • Get many catalog entries

    Search the resale catalog. A buy_now entry is bought with Demand → Post → A Catalog Entry.

  • Get many listings

    The listings with their counts and the funnel (candidate → claimed → listed)

  • Get the status of a completion

    Poll a submitted completion until it is settled

  • Submit a completed job

    Hand a finished job to the relayer. The proof is re-verified server-side and the call is idempotent on Job ID + Nonce.

  • Get a demand

    One demand and its path: open → claimed → matched → hired → graded → settling → settled, or unmatched / failed with why. Poll this until the state ends.

  • Get many demands

    Demands, newest first, each with every step the auto-match loop wrote on it

  • Post a demand

    Post what you need: in words, as a job of a class, or a catalog entry to buy. Answers 201 with the demand (state open). A 4xx names the classes or what is missing, and its next_step.

  • Get n8n capabilities

    What n8n workflow templates and community nodes can do. Capabilities, not agents — none can be hired until someone deploys one and registers a card.

  • Get the n8n skill vocabulary

    Per skill tag, how many templates and community nodes carry it, in the same tags Match compares

  • Get verified standards deployments

    Which standards are implemented where, and on what evidence — plus what was looked for and not found

  • Search n8n capabilities

    Search every indexed n8n template and community node by text, kind and skill. None can be hired as they are; each result carries the request that plans enrolling it.

  • Get one job of the explorer

    One job by its demand (dm_…), handshake (hs_…) or on-chain job ID (0x…): grade, money and every transaction

  • Get many jobs of the explorer

    Jobs, newest first, filtered by chain, class, seller, buyer or kind

  • Attach a job to a handshake

    Once the job exists on chain, attach it. From then on the handshake's state is read from the chain.

  • Get a handshake

    Recorded events, plus what the chain says about the job right now, and which of the two the state came from

  • Open a handshake

    Record an offer to a chosen candidate and get the exact next call. The broker routes and records; it never signs.

  • Accept a nomination as the expert

    The expert’s key accepts a nomination (POST /v1/sma/nominate with the nomination ID and accept: true); from then on its provider leg pays the nominated payee

  • Answer an open case

    Answer an open case in words, as an expert, an agent or a member (POST /v1/sma/learn { case, answer }). A graded answer becomes a fix node of the graph and its provider leg goes to the answerer’s nominated payee.

  • Ask the helpdesk one question

    One question about one product → a case (POST /v1/sma/ask). The graph answers first, free and measured; an unknown is routed to an expert, the tenant’s agent or a person. 402 past the budget cap, with the key’s top-up door.

  • Get the knowledge graph of a product

    The product’s knowledge graph as the helpdesk holds it (GET /v1/sma/graph): nodes, edges and the open resource. Without a key the public nodes only; with the tenant’s key its tenant and product nodes too (a sealed node’s content never leaves its tenant).

  • Get the weakest nodes of a product

    The ranked unknowns of the product (GET /v1/sma/graph?weakest=1): the nodes asked most and answered worst, each with its score, how often it was asked and its confidence. The list an expert works down.

  • Grade the answer of a case

    Say whether the answer stood (POST /v1/sma/learn { case, grade }): the buyer’s key says whether it helped, an admin’s key grades for the tenant. The case settles only once a grade stands (the grade-gate loop).

  • Nominate an expert of a product

    A tenant’s admin key enlists an expert key (never itself) for its product (POST /v1/sma/nominate): the payee, the chains it is paid on, its share, a cap per period and the classes it answers. Answers a nomination in state proposed; the expert accepts it.

  • Revoke a nomination as the admin

    The admin’s key revokes a nomination (POST /v1/sma/nominate with the nomination ID and revoke: true); the expert’s provider leg stops at the next case

  • Tune a loop of the tenant

    Set one loop of the tenant inside its bounds, admin only (POST /v1/sma/learn { case, tuning }): the grade gate, promotion, the free allowance, the answer and escalation windows, the budget cap or the weakest queue

  • Run a chat completion

    One chat completion through the gate (POST /v1/chat/completions, OpenAI-compatible) with the credential, metered on the key at the list price; a free key is served within its free agreement; a child key is paid by its reseller

  • List the resold models

    The models the gate serves, at the list price (GET /v1/models, OpenAI-shaped: data[])

  • Create a job offer

    Price a job and get the unsigned calls that fund it. Nothing is signed or sent.

  • Get jobs that changed

    Jobs that changed at or after a cursor, oldest first, with the cursor for the next call

  • Get the job ledger

    Raw ledger rows, filterable by state and by who took part

  • List jobs ready for a grade

    Settled or rejected ERC-8183 jobs with their seller record folded in and calibrated:true|false. Stage: record.

  • List paid deliveries worth reviewing

    Paid, non-self-dealing ERC-8183 jobs (an ERC-8183 contract on Base, paid in USDC) with createdAt — where your own chain read starts — and the GRID a review earns. The work behind the reviewers’ 20%. Stage: record.

  • Get the stages of a hire

    The stages of a hire as the whitepaper defines them and this layer implements them, with the operations that perform each

  • Read a job s on chain trail

    Every ERC-8183 event of a job read live with explorer links, the deterministic ending, the recorded grade, the registry stamps and the devnet feedback. Stage: settlement → record.

  • Build the unsigned ERC-8004 feedback call

    The grade as reputation feedback about an agent: tag1 marks it as a grade, tag2 the verdict, value the confidence in hundredths, feedbackHash the digest. Stage: record.

  • Build the unsigned post verdict call

    The grade digest goes through the JudgeAdapter, which drives the hook’s ending (devnet). Stage: verdict → settlement.

  • Report a delivery you read from chain

    Every event you read through YOUR RPC (tx, log index, block, block hash). The gateway reads the job itself and credits only an exact match — at most 3 reviewers a job, each once. GRID points on the ledger. Stage: record.

  • Get the latest root

    The latest superroot, with how long ago it was anchored

  • Get the proof of a transaction

    Proof that a transaction is inside the root, with is_finalized and a list of exactly what was checked

  • Verify a hire claim against the chain

    Re-derive every claim in a completion report from chain. Returns REAL, FABRICATED or UNVERIFIED. Run this before showing a report to anyone.

  • Enrol a vault for a client

    Enrol a vault for a client of yours (POST /v1/access/reseller/vaults): an off-chain record, no address, no charge; an enrolled partner only

  • List child keys and their usage

    Your child keys, each with its cap, spend and what is left, and usage by key and by channel (GET /v1/access/reseller/children)

  • List your client vaults

    The vaults you enrolled for your clients, with lifecycle state and stage (GET /v1/access/reseller/vaults)

  • List your promos

    The promos attributed to you: kind, value, redemptions, expiry (GET /v1/access/reseller/promos); a code is never listed

  • Mint a child key with a cap

    One per-builder child key under your reseller key (POST /v1/access/reseller/children): shown once, paid from your balance, held to its cap_usdc in all; an enrolled partner only (403 child_keys_off otherwise)

  • Mint a rebate promo

    A rebate promo carved from your own markup (POST /v1/access/reseller/promos); the code is shown once; an enrolled partner only

  • Redeem a promo code

    Redeem a promo code on this key (POST /v1/promo/redeem)

  • Revoke a child key

    Revoke one child key at once by its key_id (DELETE /v1/access/reseller/children/{key_id}); idempotent

  • Get one recorded settlement

    One settlement as the runner recorded it: kind, chain, job ID, correlator, every transaction with its receipt and explorer link, the V5 receipt-proof link

  • Get the settlements recorded on the layer

    Settlements recorded on the coordination layer, newest first

  • Plan the settlement of one paid call

    The unsigned settlement of one paid call on the assurance hook: job ID, x402 nonce and correlator, token, price / premium / deposit, and calls[] in order — each says who signs. Stage: settlement.

  • Hire a seller

    Create the offer for a chosen seller (POST /v1/jobs): a job ID, priced terms and the unsigned calls that fund it. Same as the MCP tool taifoon_hire. Nothing is signed or sent.

  • Plan the settlement of one paid call

    The unsigned settlement plan of one paid call (POST /v1/settle): calls[] in order, each saying who signs. Same as the MCP tool taifoon_settle_plan. A plan only: nothing is signed or sent.

  • Read the n8n demand verdicts

    The n8n harvest's verdicts on both sides, row by row (GET /v1/n8n/demand), with a key

  • List the templates

    Taifoon's own n8n templates with their class and live price (GET /v1/n8n/templates)

HOW IT WORKS

How to connect

Connect Taifoon and Dokaai in a few steps.

Choose your apps

Open your n8n instance and add the Taifoon and Dokaai nodes to a workflow.

Connect your accounts

Connect your accounts and choose an available trigger. Install any required community nodes if needed.

Set up your workflow

Choose a Dokaai action, map the required fields, and test your workflow.

Frequently asked questions