Ask AI
Skip to main content

Add all items of list to list

Function: Add all items of list to list

This action allows you to combine two lists into one. It takes all the items from a second list and adds them to the end of your first list, effectively merging them.

Input

  • List: This is the primary list to which you want to add items. (Type: List of values)
  • Adding list: This is the secondary list whose items you want to add to your primary list. This input is required. (Type: List of values)

Output

This action modifies the "List" you provide. There is no separate output generated; the "List" itself will contain the combined items after the action runs.

Execution Flow

Real-Life Examples

Here are some practical ways you can use the "Add all items of list to list" action:

Example 1: Combining Shopping Lists

Imagine you have a main shopping list and a separate list for items you need from a specific store. You can combine them to have one complete list.

  • Inputs:
    • List: ["Milk", "Bread", "Eggs"]
    • Adding list: ["Cheese", "Yogurt", "Juice"]
  • Result: The "List" will now contain ["Milk", "Bread", "Eggs", "Cheese", "Yogurt", "Juice"].

Example 2: Merging Customer Segments

You might have different lists of customers based on their activity (e.g., "Active Users" and "New Sign-ups"). You can merge these to create a comprehensive list for a marketing campaign.

  • Inputs:
    • List: ["Alice", "Bob", "Charlie"] (representing Active Users)
    • Adding list: ["David", "Eve"] (representing New Sign-ups)
  • Result: The "List" will now contain ["Alice", "Bob", "Charlie", "David", "Eve"].

Example 3: Consolidating Task Lists

If you manage tasks across different projects, you can use this action to bring tasks from a sub-project list into your main project's task list.

  • Inputs:
    • List: ["Prepare presentation", "Send meeting invite"] (Main Project Tasks)
    • Adding list: ["Review report", "Follow up on emails", "Update spreadsheet"] (Sub-Project Tasks)
  • Result: The "List" will now contain ["Prepare presentation", "Send meeting invite", "Review report", "Follow up on emails", "Update spreadsheet"].