Skip to main content
All CollectionsBuild & customizeFormaloo AI
How to create an AI generator tool without code
How to create an AI generator tool without code

Learn how to build your own AI generator without coding. Step-by-step guide on creating AI tools using Formaloo AI. No-code, easy to follow.

Updated over a week ago

You can build AI generator tools, like an Instagram caption generator, using the Formaloo no-code platform. In this step-by-step article, you'll see how to build your own AI generator tool to automate your tasks with AI and work smarter.

1. Define the AI generator's purpose & prompt

The genesis of any successful AI tool lies in a clearly defined purpose. What problem will your generator solve? What value will it provide? For example, are you aiming to generate social media captions, marketing copy, or perhaps even poems? When you know this, you can write your AI prompt and define its variables.

💡 Example AI generator

As an example, we'll create a Google Ads copy generator. This tool helps marketing teams write Google Ads copies that match their brand voice, target audience, and value proposition. You can even ensure the final ad copy includes your specific important keywords.

Based on this definition, the prompt for our Google Ads generator can be something like the following:

Generate Google Ads copy, including headlines and descriptions, for a @product targeting @audience. The ad format is @format. The key selling points are: "@selling_points". Call to action: "@cta". Brand voice: "@voice".

For example,

Generate Google Ads copy for a fitness app targeting women aged 25-35. The ad format is Search. Key selling points: "At-home workouts, personalized fitness plans, healthy recipes". Call to action: "Start Your Free Trial". Brand voice: "Empowering and inspiring".

2. Identify the variables in your AI prompt

Looking at your AI prompt, you'll know what a variable value should or shouldn't be. For example, if you're building this AI tool for your internal team, the "tone of voice" is always the same. Therefore, it doesn't need to be a variable in this case. But if the AI generator tool is for external purposes and different businesses will use it, you might consider having "Tone of voice" as a variable value, changing from business to business.

In the above prompt example, all values identified with an "@" sign are identified as variable values. If you don't want one of them to be a variable, then you can simply replace it with the final value. For example, let's say you want a constant tone of voice. In this case, you can change your prompt to the following:

Generate Google Ads copy, including headlines and descriptions, for a @product targeting @audience. The ad format is @format. The key selling points are: "@selling_points". Call to action: "@cta". Brand voice: "Empowering and inspiring".

3. Build your AI generator form without code

Now that you know exactly what you want to build, let's build your AI generator form! Start by logging into your Formaloo dashboard and creating a new formaloo. Start with a form and customize it to add your variables.

You should add a new field for each variable in your AI prompt. To customize your AI generator form, you can use different field types, including text, single-choice, multi-choice, dropdown, and a lot more.

In the above example, we'll add the following fields to our AI generator form:

  • Product / Service: Short text

  • Target audience: Long text

  • Format: Dropdown with the following options:

    • Search

    • Display

    • Video

  • Selling points: Long text

  • Call to action: Long text

You can also customize the submit button to something more meaningful, like "Generate ad copy."

4. Add AI prompt block to your form and pipe the variables' values

Head to the ending page of your form at the bottom of the page and add a "Custom AI builder" block by typing "/ai" there. This block allows you to enter your AI prompt to run once the form is submitted.

After entering your AI prompt into the box, it's time to ensure the piped variables are mapped with your form fields. To do so, you should add an ID to all your fields, matching with the variables in your prompt.

For example, to do so for the "@product" variable in our AI prompt, we'll click the "Product / Service" field, and from the properties sidebar at the right, we'll set "@product" as the ID because that's how we're piping the value of this field into our AI prompt.

In the above example, we'll add the following IDs to the fields in our forms:

  • Product / Service: product

  • Target audience: audience

  • Format: format

  • Selling points: selling_points

  • Call to action: cta

📣 Reminder: This is the final AI prompt we put in the custom AI builder block in our example scenario:

Generate Google Ads copy, including headlines and descriptions, for a @product targeting @audience. The ad format is @format. The key selling points are: "@selling_points". Call to action: "@cta". Brand voice: "Empowering and inspiring".

✏️ Answer piping note

You shouldn't use the @ in your ID field. The "@" sign is only used to pipe the field's value into your text.

5. Preview and refine your AI prompt

Now, let's test our AI generator form. Click the view button at the top of the page to view the AI form. Fill in the fields and submit your form. Once the form is submitted, the AI prompt will run and generate the information you specified.

Feel free to change your AI prompt and variables to reach optimal results.

⭐ Pro tip for customizing your AI generator form

You can customize your form further by changing its design, setting a custom domain for it, and using logical branches to run different AI prompts in multiple ending pages based on the user's responses.

Did this answer your question?