Loading...
New Winner – Cross-Border Excellence | Payoneer India 2026 Check out
Featured Recognized by Salesforce; Proven by impact! Check out

Salesforce provides a variety of standard component quick actions that can be used in Lightning Experience.

We have a standard activity to create tasks.

However, we may build a task that relates to a single contact and account by using a standard action.

But if we are looking to create a task for all contacts in that account. Then we need to think about custom development but do not worry, this is also doable with easy automation.

In this blog today, we will demonstrate how we can create a task for contacts associated with a community account using flow. So, let’s get started!

Steps to follow for creating tasks on all contacts related to an account

To create a task for all contacts related to an account in Salesforce Community, you can follow these steps:

Step 1: Go to Setup and enter “Flow” in the quick find box. Select “Flows” under Process Automation.

Step 2: Click on “New Flow” to create a new flow.

1 768x313 1

Step 3: Choose the “Screen Flow” option.

Step 4: List

3 768x337 1

Step 5: Create a Text variable, Set the API name of the variable as “recordId”.

Step 6: Create a record variable to access all the contacts related to the account.

2 768x607 1

Step 7: Create the screen component to display related contacts, to a user can select or deselect the contacts

  • To display the contacts we are using a data table component.
4 768x246 1

Step 8: Create the second screen component to enter the Task value

  • Create Text input to enter the subject
  • Create Date input to the due date.
  • Create a Picklist to select status and priority.
5 768x326 1

Step 9: Iterate the loop over selected contacts to create the task for all selected contacts.

Step 10: Assign all input values to the Task variable

Step 11: Use the element to create the record, Flow output should be as below

6

Step 12: Create a new action button in the Account object to create the task.

List

7 768x157 1

Step 13: Add the action button to the Salesforce Community page where you want the task creation functionality to be available.

8 768x288 1
9 768x279 1

Step 14: Test the flow by creating a test record and verifying that the task is created for all the contacts related to the account.

  • Click on Task
  • Select the contact for whom the task is to be created.
  • On the next Screen Enter the details for the Task.
  • The task will create for all selected contacts.
  • List
10 768x457 1
11 768x595 1

Conclusion

By following these steps, you can achieve the requirement of creating a task for all contacts available in an account without the need for custom development. Feel free to try out the solution in your org and share your suggestion with us. Catch you on the next one!

No Data Found.

Related Articles
From SMBs to Enterprises: Why Salesforce CRM Remains the Choice for Every Business Size

Running a modern business requires a robust Salesforce CRM platform that connects teams, organizes customer data, and delivers real-time operational insights. In today’s competitive environment, waiting for information across disconnected systems is no longer practical, especially when modern buyers expect immediate responses across every channel. For years, the software was primarily associated with large corporate […]

Read More
How to Integrate NikoHealth to Salesforce

Healthcare organizations using NikoHealth often need patient, insurance, order, invoice, and prescription data available inside Salesforce. As data grows, manually updating records across systems becomes difficult and can lead to delays, duplicate work, and data inconsistencies. NikoHealth to Salesforce integration helps solve this challenge by automatically synchronizing data between both platforms. Instead of building custom […]

Read More
Flow Orchestrator vs. Traditional Flows: When to Use Each for Salesforce Automation

Businesses use Salesforce automation to reduce manual work, improve efficiency, and automate repetitive business processes. Two commonly used automation approaches inside Salesforce are Traditional Flows and Flow Orchestrator. Traditional Flows are mainly used for simple automation tasks such as updating records, sending notifications, creating tasks, and automating business logic. Flow Orchestrator is designed for more […]

Read More
The Rise of Agentic Government: How AI Agents Are Transforming Public Services

Government technology has often been seen as slower to evolve than the private sector. But Salesforce’s latest research challenges that idea in a big way. In fact, the new findings suggest that public sector organizations may now be moving faster than many businesses when it comes to adopting AI agents and preparing for a more […]

Read More
How To Use Email Service in APEX

Managing approvals, updates, and record changes directly from email can significantly improve efficiency within Salesforce workflows. Instead of logging in, navigating records, and manually updating fields, users can simply respond to emails and trigger automated updates using Email Service in APEX. This approach is especially useful for businesses leveraging Salesforce automation and looking to enhance […]

Read More
Design and Implementation of Salesforce-Jira Task Integration

Businesses have been using Salesforce for CRM operations and Jira for Agile project tracking. However, without integration, teams manually update both systems, leading to data inconsistency and inefficiency.This mechanism establishes a real-time integration between Salesforce and Jira, allowing seamless synchronization of tasks and agile board statuses.  A custom Salesforce dashboard was developed that replicates Jira-style […]

Read More
Our Location worldwide
Indian Flag India
7th Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203669505
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
CA Flag Canada
HIC Global Solutions INC
6D - 7398 Yonge St #1124 Thornhill, ON L4J 8J2 Canada +1(262) 310-7818