Anakin icon

Anakin

Scrape websites, search with AI, and extract structured data

Actions108

Browser → Wire: Run Write Action

AI-generated

Summary

Run a state-changing Wire automation action on a target website using a specified Wire action ID and optional parameters, credentials, or identity. The operation sends a request to trigger the action and asynchronously polls its status until completion or timeout.

Inputs

  • Action ID (required) — The Wire action to run, identified by an action ID obtained via Wire: Discover Actions or Wire: Browse Catalog.
  • Params (JSON) — The input parameters for the Wire action as JSON. The required shape depends on the specific action; leave empty if the action requires no parameters.
  • Credential ID — Credential ID to authenticate the action if the action requires authentication. Obtained from Wire: List Identities or Wire: Sign In.
  • Identity ID — Optional identity selector to resolve credentials alternatively to Credential ID.
  • Additional Options — Optional settings including 'Max Wait Time (Seconds)' to set the maximum polling duration for asynchronous completion (default 300 seconds) and 'Poll Interval (Seconds)' for the interval between status checks (default 3 seconds).

Output shape

A JSON object indicating success status, the Wire action ID, optional job ID if the action runs asynchronously, and the final status response from the Wire job execution.

If the Wire action runs synchronously, the response is returned immediately. For asynchronous actions, the node polls the job status until completion or failure, returning the final job data. On failure or timeout, the node throws an error. The output includes success flag and details of the executed action.

Examples

Example 1: Execute a form submission Wire action with required parameters and credentials.

Set 'Action ID' to the Wire action string, provide necessary JSON parameters in 'Params', and specify Credential ID if authentication is required. Optionally, adjust 'Max Wait Time' and 'Poll Interval' to control polling behavior.

Links

Discussion