Databutton
DiscordSign up
  • Getting Started
    • Databutton University
    • Meet the Databutton AI agent
  • Help & FAQ
  • Prompting in Databutton
    • Top prompting strategies
    • Prompting app UI & design
    • Prompting up your backend (APIs)
    • Troubleshooting prompt
    • Connecting UI with the Backend
    • Prompt Gallery
  • Using Tasks
    • How to use tasks in Databutton
    • Writing a good task
    • Chaining tasks
  • Task Gallery
  • Integrating SaaS Services
    • Authentication Integration
      • Firebase Integration
      • Supabase Integration
    • Working with Firestore Database
    • Working with Supabase Table
    • Stripe Integration
  • App Configurations
    • Package Installations
    • Managing Secrets
    • Customising Agent Behavior
    • Invite Collaborators
    • Customising App Design
  • Tutorials
    • Configuring a custom domain for your app
  • Databutton MCP – Build tools for AI
  • Troubleshooting
    • Browser window crashes
Powered by GitBook
On this page
  • Debug an issue
  • Make changes to existing feature

Was this helpful?

  1. Using Tasks

Chaining tasks

Chaining tasks is a powerful feature for building up relevant context to the agent for solving the next task. By using this technique, you can have the agent map out how a feature works in your app, using the task as a short-term memory for relevant context, making it easier for the agent to make precise changes to your app even when it grows in size. This is better exemplified than described.

Debug an issue

First prompt

Describe the issue you experience, and tell the agent to create a task for investigating it and writing down findings as it goes.

Prompt
When I upload a PDF, I see the PDF in my file list,
but when I click Download nothing happens.

Create a task for debugging this and save your findings as comments
on the task as you go.

Second prompt

Provide the agent with context from the first prompt and start a task based on it

Prompt
Read task X and create a new task for solving this issue. Make sure you stick to the
problem at hand. I'd like to start working on this task right away.

Make changes to existing feature

First prompt

Tell the agent what you want to change with an existing feature and have the agent map out the required changes for this.

Prompt
I want to be able to upload multiple files at the same time from my AttachmentPage.

Create a task for mapping out how the existing feature work and what changes must
be made for this to support multiple files in one upload

Second prompt

Prompt
Read task X and create a task for solving this issue. Make sure you stick to the
problem at hand. I'd like to start working on this task right away.

PreviousWriting a good taskNextTask Gallery

Last updated 27 days ago

Was this helpful?