Skip to content
SaaSFunnelsHelp

Build with your agent · Build

Design anything

Your agent designs Funnels with your brand, your images and every Studio element, checks each step at desktop and phone sizes, adds custom CSS and HTML, or has your own components draw the Funnel.

On this page

Your agent can do anything Studio can: every element, layout, surface and background, on every step. It looks at each step as customers will see it after every change, so you get a draft that already looks right.

Your brand

Your agent reads your brand kit (colors, fonts, corners and logo) and uses it on every Funnel.

  • Owners and admins can have the agent save brand changes directly, the same as SettingsBrand.
  • Otherwise it suggests a brand kit and gives you a link to review it. Nothing changes until you save it.

Your agent can also set your buttons, fields, cards, spacing and text size, so every Funnel looks like your app with no code in the Funnel.

Ask: "Match our app's theme." Your agent reads your theme file, Tailwind config or CSS variables and sets the brand kit from them.

See Brand kit.

Images

  • From the web: your agent copies an image from a public https address into your workspace's image library. PNG, JPEG, WebP and AVIF, up to 10 MB.
  • From your repository: it uploads an image file from your project, like your logo or a product screenshot.
  • Built in: it can use the backgrounds and art that come with SaaSFunnels.

It checks every step

After each design change, your agent draws the step the way customers see it, at desktop size (1440 × 900) and phone size (390 × 844), and fixes what doesn't fit: text that wraps badly, buttons off screen, colors that are hard to read. It can draw up to eight steps at once to check the whole Funnel, and each A/B variant on its own.

Ask "check it on mobile" any time you want to see it yourself.

Layouts and elements

Anything in Steps and elements is yours to ask for:

  • "Lay out the first step in two columns."
  • "Make the thank-you step full screen and green."
  • "Show our plans as a pricing table."
  • "Put our logo top left and a product screenshot on the right."

Custom CSS and HTML

When the built-in options aren't enough, your agent can add custom CSS to the Funnel and a Custom HTML element (Add element › Content) to any step. You see both in Studio under Funnel settingsCustom code.

Limit
Size20 KB of CSS and 20 KB of HTML
HTMLText, lists, links (https only), images and tables
Not allowed in HTMLScripts, iframes, forms, inputs, SVG, event handlers, javascript: and data: addresses
CSSNo @import, no position: fixed, and url() only for images in your workspace's image library

Link clicks inside custom HTML aren't counted in Results yet.

Funnels drawn by your app

To make a Funnel look like the rest of your product, start with your brand kit and custom CSS: Studio then shows the Funnel exactly as customers see it. Ask: "Match our app's theme."

When a Funnel needs your own components, for example to show live data from your app, your agent can mark it drawn by your app. Your components draw the steps, and SaaSFunnels still runs everything else:

  • who sees it, when it opens and how often;
  • the steps, the order they come in and where each answer leads;
  • Offers, and payments confirmed with Stripe on the server;
  • what's counted, and Results.

Ask your agent: "Build a custom-designed Funnel with our own components." It follows the Build a custom-designed Funnel playbook. Studio doesn't show how your components draw these steps, so check them in your app.

Step content for your components

In React, two hooks give your components everything a step says, with merge fields such as the customer's name already filled in:

  • useFunnelResponseStep returns the current step: headings, text, images, questions and buttons, and submit to send the answers and move on.
  • useFunnelActionChoices returns a step's Offer terms and buttons, and perform to run the one the customer chose.
TypeScript
import { useEffect } from "react";
import { useFunnelResponseStep } from "@saasfunnels/funnels-react";

export function PulseSurvey() {
  const { step, status, load, submit } = useFunnelResponseStep("quarterly_pulse");
  useEffect(() => {
    void load();
  }, [load]);
  if (status !== "ready" || !step?.ok) return null;
  return <YourSurveyCard step={step} onSubmit={submit} />;
}

Apps without React use the same calls from the SaaSFunnels browser runtime.

Types for your Funnel

Terminal
npx saasfunnels funnels types <funnel_id>

Writes TypeScript types for that Funnel's steps, fields and buttons, so your editor and your agent know exactly what each step holds. Run it again after the Funnel changes.

What's next

Review, undo and publish