# How to Duplicate Records for Repetitive App Entries

### Before You Begin <a href="#before-you-begin" id="before-you-begin"></a>

* Know the basics of [Screens](https://help.adalo.com/component-basics/inserting-and-editing-screens), [Databases](https://help.adalo.com/database), and [Actions](https://help.adalo.com/actions).&#x20;

### Introduction

Duplicating data is especially handy if you’re building an app that logs recurring entries, think exercise logs or to-do lists, where yesterday’s activities usually repeat the next day. This walkthrough shows you a simple, reliable way to let users copy their past data forward with just a tap.

Let’s dive in with a simple example using three key screens and basic data collections.

***

### **Understand the App Structure**

Start with three primary screens:

* **Home:** Displays a list of all tasks.
* **List Detail:** Shows the consolidated tasks.
* **Task Detail:** Provides a detailed view of each task.<br>

  ![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FXl7kJTdI8an9XHtEMCGc%2FScreenshot%202026-03-09%20at%202.19.49%E2%80%AFPM.png?alt=media\&token=2ab8b2ec-d2c8-4498-8710-23a1289c2487)

***

### **Set Up Data Collections**

Create two collections: **User** and **Task**.

* Give **Task** properties like **name** (text), **description** (text), and a **complete** status.
* Set a relationship where one user can have multiple tasks. This keeps things simple and flexible.

  ![Image](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FfI4n44OwGrQQdfvq6RBT%2FScreenshot%202026-03-09%20at%202.21.06%E2%80%AFPM.png?alt=media\&token=7fb36951-2484-4071-b7f2-fd706779b88e)

***

### **Add a Duplicate Icon to Task Detail**

On your **Task Detail** screen, add an intuitive icon, for example, a copy symbol, to trigger duplication.\
Text components with title & nam

![Image](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FwxG3C1GaTI2mmCVHfjxv%2FScreenshot%202026-03-09%20at%202.22.06%E2%80%AFPM.png?alt=media\&token=382627a9-0167-4cb3-8d7a-b521a0705970)

***

### **Configure the Duplicate Action**

* Add a create action to "Duplicate Icon", map fields from the current task to the new one using **Magic Text**.

<figure><img src="https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FZX1di63g9alFN0MF8WY2%2FScreen%20Recording%202026-03-09%20at%202.26.08%E2%80%AFPM.gif?alt=media&#x26;token=dfb4b95a-3e10-41c1-ac10-2e3828ef551f" alt=""><figcaption></figcaption></figure>

Attach a **Create Task** action to the icon.

* Use Magic Text to copy values from the current record into the new record fields. Copy the exact **name**, **description**, and **completed** status from the current task. - Assign the logged-in user to the new task.

  ![Image](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FcXjHrCNVIwkvnziH2CbO%2FScreenshot%202026-03-09%20at%202.22.58%E2%80%AFPM.png?alt=media\&token=c97cd605-f834-4a8a-8762-1d1862f0dfd6)

***

### **Differentiate Duplicates**

To avoid confusion when names repeat, append “Copy” (or something similar) to the duplicated task’s name. This lets users spot new copies at a glance.

<figure><img src="https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2F0o2tAUNWkxIbaH3b7tnk%2FScreenshot%202026-03-09%20at%202.13.11%E2%80%AFPM.png?alt=media&#x26;token=7f840d28-d92f-4df9-bf54-7a33f3850fd3" alt=""><figcaption></figcaption></figure>

***

### **Test the Workflow**

Preview your app, try duplicating a task, and check the list to see your new entry appear.

* You can also confirm by looking directly in your database to ensure everything copies over as expected.

  ![Image](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2Fw4VTy5YEEE5cNFNndU7Z%2FImage?alt=media\&token=e7229b52-1fdb-4161-a2be-9d8a100464c1)

Duplicating tasks lets users quickly reuse data and reduces tedious re-entry. This approach fits right into apps that need fast, repeatable data logging. Try setting this up, it’s easy to implement and keeps your app efficient for daily use.

***

### Learn More

* When mapping fields with MagicText, make sure your action is connected to the correct current record or the values may not copy over as expected.
* You can find examples of apps using list-based workflows by checking out our app templates.
* A common way to extend this pattern is to add a confirmation dialog before the duplicate action fires, so users don't create copies by accident.
* You can also use automatic fields within a Create action to pre-fill values like creation date or status without requiring MagicText.
* Now you can [Edit Your Duplicated Record](https://help.adalo.com/how-to/how-to-duplicate-records-for-repetitive-app-entries/how-to-edit-a-duplicated-record)!

***

### Help

If you need additional help with this article, you can always ask in our[ community forum](https://forum.adalo.com/)! Be sure to paste the link to this article in your post as well!

Do you have a tutorial or help doc request? [Let us know!](https://forum.adalo.com/c/roadmap/10)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.adalo.com/how-to/how-to-duplicate-records-for-repetitive-app-entries.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
