Gradient Works Docs
ProductDynamic BooksPricingRequest Demo
  • Welcome
  • ACCOUNT RESEARCH
    • Overview
      • Features
    • Market Map
      • Account Import
        • Salesforce
        • HubSpot
      • Salesforce Integration
        • How to Install Similar Accounts Component
      • CRM Export
        • Salesforce
        • HubSpot
      • FAQs
        • Attributes in Market Map
    • AI Researcher
      • How to create & configure an AI Researcher
      • Writing effective prompts
      • Prompt examples
      • Managed AI Researcher
    • Lookalikes
    • Credits
  • Bookbuilder
    • Overview
    • Enroll Accounts
    • Target Books
      • Target Book Report
      • Edit Reps
    • Account Coverage
      • Market Coverage
      • Rep Coverage
      • Working Activities
    • Transfer Accounts
      • Concepts
      • Account Pool
      • Distributions
      • Retrievals
      • Returns
      • Templates
      • Scheduling
      • Troubleshooting
    • How-to Guides
      • How to Rank Accounts for Distributions and Retrievals
      • How to Use the "Is In" Operator
  • Routing
    • Overview
    • Dashboard
    • Round Robin Queues
      • Create Queues
      • User Availability Status
      • User Working Hours
    • Users
    • Capacity Meters
    • Lead and Account Matching
    • Automation
      • Automation Executions
      • Log Entries
  • Automation Builder Kit (ABK)
    • Getting Started
    • Actions
      • Assignment
        • Directly Assign Items
        • Round Robin Assign Single Item
        • Round Robin Assign Multiple Items
        • Schedule and Assign Single Item
      • Dynamic Books
        • Retrieval
      • Flow Lifecycle
        • Execute Subflow
        • Failed
        • Finish
        • Resume
        • Start
      • Leads
        • Convert Lead
        • Convert Multiple Leads
      • Logs
        • Log Message
      • Matching
        • Match Account to Account
        • Match Lead to Account
        • Match Lead to Contact
        • Match Lead to Lead
      • Next Steps
        • Add Person to Campaign
        • Add Person to Sales Engagement Cadence
        • Check Person Enrollment in Cadence
        • Create Task
        • Send Single Assignment Email
        • Send Slack Message
      • Users
        • Get Used Capacity
        • Update Capacity
        • Update Weight
      • Utils
        • Evaluate Domain against Denylist
      • Advanced
        • Build Record Map from Lookup
        • Build Record Map from Field
        • Build Text Collection from Field
        • Convert ItemAssigned to Assignment
        • Execute SOQL
        • Get Record from Record Map
        • Assign Pending Items for Multiple Queues
        • Assign Pending Items for Single Queue
        • Enqueue Multiple Items
        • Enqueue Single Item
    • Models
      • AccountMatchResult
      • AccountToAccountMatch
      • Assignment
      • ConvertLeadRequest
      • ConvertLeadResult
      • DomainEvaluationResult
      • GenericSObject
      • LeadToAccountMatch
      • LeadToContactMatch
      • LeadToLeadMatch
      • QueueUserWeight
      • RecordMap
  • Integrations
    • Getting Started
    • Slack
    • Google Workspace
    • Microsoft 365
    • Salesloft
    • Outreach
  • Advanced
    • Salesforce Permissions
  • Miscellaneous
    • Changelog
Powered by GitBook
On this page
  • Configuration
  • Outputs
  1. Automation Builder Kit (ABK)
  2. Actions
  3. Assignment

Schedule and Assign Single Item

Assign a record and book a meeting on a user's calendar

PreviousRound Robin Assign Multiple ItemsNextDynamic Books

Last updated 2 years ago

You must be authenticated with or calendars to use this action.

This action can only be used as part of a Screen flow, working with one item at a time.

Looks through the list of users associated with a Gradient Works Queue and schedules a meeting with the user who was least recently assigned and is free during the provided meeting time. The item will also be assigned to this user. The item may be of any type (e.g. Account, Lead, etc). The assignment is performed immediately.

By default, if there are no users with calendar availability at the requested time, we will double book the user who was least recently assigned and assign the item to that user. If you prefer that we do not double book a user and instead do not perform any assignment, specify doNotAssign as the ifNoneAvailable input.

If you specify a capacity using capacityValue or capacityValueField, that value will be used in capacity calculations when scheduling the meetings and assigning the item to a user. For example, if you specify a capacityValue of 5, users must have an availableCapacity greater than or equal to 5 to be eligible for assignment. If no capacity is specified, we assume a null capacity value for the item and do not perform any capacity calculations during assignment.

You can access the results of the assignment attempt in the object included in the output. It will include information about if the assignment completed successfully or if there was an error as well as information about the user that received the item. You can use this object as an input to other actions such as .

If an API error occurs during scheduling, this action will return an error and stop attempting to schedule or assign the item. Add a Fault Path to your Flow to perform additional steps as a result of this error.

Configuration

Name
Required
Type
Description

item

Yes

SObject

The Salesforce object to assign

meetingEndTime

Yes

Datetime

What time the meeting should be scheduled to end at

meetingStartTime

Yes

Datetime

What time the meeting should be scheduled to start at

meetingTitle

Yes

String

Title of the meeting

queue

Yes

String

The target queue. May be an Id or the queue name.

capacityValue

No

Long

Capacity value to apply to the assigned item

capacityValueField

No

String

Retrieve capacity from a field to apply to the assigned item

ifNoneAvailable

No

String

One of "doNotAssign" or "doubleBook". The default is "doubleBook" if no value is provided.

meetingDescription

No

String

Description of the meeting

meetingGuestList

No

String

Who should attend the meeting

meetingLocation

No

String

Where the meeting is going to take place

meetingLocationField

No

String

Retrieve value of meeting location from this field on User object

Outputs

Name
Type
Description

assignment

Information about the assignment, including who the item was assigned to

calendarEvent

CalendarEvent__c

Details of the scheduled calendar event

errorMessage

String

Message describing any error that occurs during scheduling

isSuccess

Boolean

Whether scheduling the calendar event was successful or not

Assignment
Google Workspace
Microsoft 365
Assignment
Assignment
Send Slack Message