Anakin icon

Anakin

Scrape websites, search with AI, and extract structured data

Actions108

Wire → Run Write Action

AI-generated

Summary

Run a Wire write action to perform state-changing operations on a target website via the Wire interface, such as submitting forms or adding items to a cart.

Inputs

  • Action ID (required) — The identifier of the Wire action to run, obtained from Wire: Discover Actions or Wire: Browse Catalog.
  • Params (JSON) — Input parameters for the Wire action as JSON, following the specific action's parameter schema; leave empty if none are required.
  • Credential ID — Credential identifier required if the Wire action's authentication mode is "required"; obtained from Wire: List Identities or Wire: Sign In.
  • Identity ID — Optional identity identifier as an alternative to Credential ID; the server uses it to resolve the credential.
  • Additional Options — Options for the action execution including Max Wait Time (seconds) to specify how long to wait for asynchronous completion (default 300) and Poll Interval (seconds) to control the frequency of status checks (default 3).

Output shape

A single JSON object containing the success status, operation name, action ID, and the result or job details returned by the Wire API. If the action is asynchronous, polling is performed until completion or timeout, then the final job status and data are returned.

The operation may run synchronously or asynchronously. If asynchronous, it polls the API at intervals until the job completes, fails, or exceeds the maximum wait time. Errors during execution are reported as failures with accompanying messages. The output is paired with the input item.

Examples

Example 1: Adding a product to a shopping cart on a Wire-enabled e-commerce site

Provide the Wire action ID for "add_to_cart", JSON parameters specifying the product ID and quantity, and optionally Credential ID if authentication is required. The node executes the action and returns confirmation or error details.

Links

Discussion