Skip to content
vVectorly

Vectorly

AboutBlogContactDocs

Jump to

Create routines

Learn how to create routines.

Overview

You can create routines in four ways:

  1. Create with AI
    Go to the Vectorly Console and create an automation with AI assistance. The AI monitors things like network transactions and browser storage to help you build routines.

  2. Fork existing public routines
    Browse and fork community-built routines to use as templates or starting points.

  3. Build from scratch
    Define your own sequence of web actions and API calls directly in the Vectorly Console.

  4. Discover routines automatically
    Use Web Hacker, our open-source tool, to capture real interactions on the web and let an AI agent generate a routine definition for you.

Create with AI

The easiest way to create a routine is using AI assistance directly in the Vectorly Console. Simply navigate to the console and start creating an automation—the AI will monitor your browser interactions, including network transactions, clicks, form submissions, and other web actions, to help you build your routine.

To create a routine with AI assistance:

  1. Go to the Vectorly Console. Click + Create routine > AI-assisted.
  2. Perform the actions you want to automate in your browser while the AI monitors network transactions, browser storage, and more.
  3. Tell the AI what data you want to extract or use as parameters. For example, form field values, API response data, or page content. The AI will configure the routine parameters accordingly.
  4. Review and refine the generated routine as needed. Click "Create routine" to save.

The AI assistance feature automatically captures network requests, form data, navigation events, and other browser interactions to help you build accurate, production-ready routines without manual configuration.

Fork existing public routines

Browse public routines created by the community and fork them to create your own variations.

To fork a routine:

  1. Go to the Browse page to view public routines.
  2. Select a routine you want to fork.
  3. Click the "Add to project" button to fork the routine into your own project.
  4. Customize and save your routine as needed.

Tip: Forking is the fastest way to learn by example. Start with a working routine and adapt it for your use case.

Build from scratch

If you already know the sequence of steps your workflow should follow, build a routine from scratch by specifying your API endpoints and web actions directly in the Vectorly Console.

To create a new routine:

  1. Go to the Vectorly Console.
  2. Go to the Routines page.
  3. Click "+ Create new routine" button.
  4. Enter a name and description.
  5. (Optional) Toggle Public to allow others to fork and use it.
  6. Define parameters (inputs) in JSON format. See Parameters for details.
  7. Define operations (browser actions) in JSON format. See Operations for details.
  8. Click "Create routine" to save your routine. Execution instructions will appear, and you can execute it via the REST API or MCP server.

Create routines automatically

Web Hacker is an open-source tool that uses AI to reverse-engineer web APIs. Monitor your browser while performing actions, then let the AI agent analyze the captured data and generate reusable routines.

Web Hacker enables you to automate any web app without needing official APIs. Capture browser interactions, and the AI agent will discover the API endpoints and create routines you can use in production.

Launch Google Chrome in debug mode

Before you can use Web Hacker, you need to launch Chrome with the DevTools protocol enabled. This allows Web Hacker to connect to your browser, monitor network traffic, capture storage events, and control browser actions programmatically.

Chrome must be started with remote debugging enabled on 127.0.0.1:9222. This exposes a WebSocket endpoint that Web Hacker uses to communicate with the browser. You can verify Chrome is running in debug mode by checking that http://127.0.0.1:9222/json/version returns JSON containing a webSocketDebuggerUrl.

For detailed platform-specific instructions (macOS, Windows, Linux), see the Web Hacker README.

Use Web Hacker

Reverse engineering web apps with Web Hacker involves two steps:

  • Monitor: Capture network traffic, storage events, and interactions while you manually perform the target task in Chrome
  • Discover: Let the AI agent analyze the captured data and generate a reusable routine

For detailed step-by-step instructions, see the Web Hacker README.

⚠️ Legal and privacy notice

Reverse-engineering and automating a website can violate terms of service. Store captures securely and scrub any sensitive fields before sharing.

Upload discovered routine

Once you've verified your discovered routine works locally, you can upload it to the Vectorly Console to productionize it and make it available via API or MCP server.

To upload your discovered routine:

  1. Open the routine.json file generated by the discovery agent in the output directory.
  2. Go to the Routines page in the Vectorly Console.
  3. Click "+ Create new routine" and copy the name, description, parameters, and operations from your routine.json file.
  4. Click "Create routine" to save. Your routine will be available for execution via the REST API or MCP server.
v

Vectorly

Copyright © 2025 Vectorly

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

v

Vectorly

Copyright © 2025 Vectorly

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website