> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Flow Actions

export const MultiRelatedLinks = ({sections = []}) => {
  if (!sections || sections.length === 0) {
    return null;
  }
  return <div className="space-y-8">
      {sections.map((section, index) => <RelatedLinks key={index} title={section.title} items={section.items} />)}
    </div>;
};

export const RelatedLinks = ({title, items = []}) => {
  const getBadgeClass = badge => {
    if (!badge) return "badge-default";
    const badgeType = badge.toLowerCase().replace(/\s+/g, "-");
    return `badge-${badge === "ガイド" ? "guide" : badgeType}`;
  };
  if (!items || items.length === 0) {
    return null;
  }
  return <div className="my-8">
      {}
      <h3 className="text-sm font-bold uppercase tracking-wider mb-4">{title}</h3>

      {}
      <div className="flex flex-col gap-3">
        {items.map((item, index) => <a key={index} href={item.href} className="py-2 px-3 rounded related_link hover:bg-[#f2f2f2] dark:hover:bg-[#111827] flex items-center gap-3 group no-underline hover:no-underline border-b-0">
            {}
            <span className={`px-2 py-1 rounded-full text-xs font-semibold uppercase tracking-wide flex-shrink-0 ${getBadgeClass(item.badge)}`}>
              {item.badge}
            </span>

            {}
            <span className="text-base">{item.label}</span>
          </a>)}
      </div>
    </div>;
};

Salesforce toolkit includes wrappers that allow admins
to invoke the following [methods]. It allows Box for Salesforce
users to build automated solutions, such as folder structure,
using [Salesforce Flows].

## Methods in Salesforce Flows

The list below contains all methods that can be invoked in
[Salesforce Flows].

### Box Sign

* Send Box Sign Request (`sendSignRequests`)

### Box Hubs

* Add Hub Item (`tkAddHubItem`)
* Copy Hub (`tkCopyHub`)
* Create Hub (`tkCreateHub`)
* Create Hub Collaboration (`tkCreateHubCollaboration`)
* Get All Hubs (`tkGetAllHubs`)
* Get Enterprise Hubs (`tkGetEnterpriseHubs`)
* Get Hub by ID (`tkGetHubById`)
* Get Hub Collaborations (`tkGetHubCollaborations`)
* Update Hub (`tkUpdateHub`)
* Update Hub Collaboration (`tkUpdateHubCollaboration`)

### Box AI

* Box AI Ask by Item Id (`askBoxAI`)
* Box AI Extract by Fields (`extractBoxAI`)
* Box AI Extract by Metadata Template (`extractBoxAI`)
* Box AI Extract by SObject Type (`extractBoxAI`)
* Box AI Generate Text by Item Id (`generateBoxAI`)

### Doc Gen

* Create Doc Gen Template (`createDocGenTemplate`)
* Generate Doc Gen For Record (`generateDocGenForRecord`)
* Submit Doc Gen Batch (`submitDocgenBatch`)
* Get Doc Gen Batch Status (`getDocgenBatch`)

### File Box Metadata and actions

* Create Box Metadata by File Id (`tkCreateBoxMetadataByFileId`)
* Delete Box Metadata by File Id (`tkDeleteBoxMetadataByFileId`)
* Get Box Metadata by File Id (`tkGetBoxMetadataByFileId`)
* Update Box Metadata by File Id (`tkUpdateBoxMetadataByFileId`)
* Move File (`tkMoveFile`)
* Get Last Item (`getLastItem`)
* Get Recent Items (`GetRecentItems`)

### Folder Box Metadata and actions

* Create Box Metadata by Folder Id (`tkCreateBoxMetadataByFolderId`)
* Delete Box Metadata by Folder Id (`tkDeleteBoxMetadataByFolderId`)
* Get Box Metadata by Folder Id (`tkGetBoxMetadataByFolderId`)
* Update Box Metadata by Folder Id (`tkUpdateBoxMetadataByFolderId`)

### Folder management

* Create Folder (`tkCreateFolder`)
* Create Folder Association (`tkCreateFolderAssociation`)
* Create Folder For Record ID (`tkCreateFolderForRecordId`)
* Create Folder For Record ID From Template (`tkCreateFolderForRecordIdFromTemplate`)
* Create Object Folder For Record ID (`tkCreateObjectFolderForRecordId`)
* Get Folder Associations By Salesforce Record ID (`tkGetFolderAssociationsByRecordId`)
* Get Folder ID By Record ID (`tkGetFolderIdByRecordId`)
* Get Folder URL (`tkGetFolderUrl`)
* Get Object Folder By Record ID (`tkGetObjectFolderByRecordId`)
* Get Record ID By Folder ID (`tkGetRecordIdByFolderId`)
* Get Root Folder ID (`tkGetRootFolderId`)
* Get URL For Folder (`tkGetUrlForFolder`)
* Move Folder (`tkMoveFolder`)
* Update Folder (`tkUpdateFolder`)
* Get Box Folder Contents by Folder Id (`tkGetFolderContents`)

### Cascade policies

* Create Metadata Cascade Policy (`tkCreateMetadataCascadePolicy`)
* Delete Metadata Cascade Policy (`tkDeleteBoxMetadataByFolderId`)
* Get Metadata Cascade Policies by Folder Id (`tkGetMetadataCascadePoliciesByFolderId`)
* Get Metadata Cascade Policy by Id (`tkGetMetadataCascadePolicyById`)

### Collaboration

* Create Collaboration (`tkCreateCollaboration`)
* Create Collaboration On Record (`tkCreateCollaborationOnRecord`)
* Delete Collaboration (`tkDeleteCollaboration`)
* Edit Collaboration (`tkEditCollaboration`)

### Slack integration

* Create Slack Channel Mapping (`tkCreateSlackChannelMapping`)
* Set Slack Channel Access Management Disabled (`tkSetSlackChannelAccessManagementDisabled`)

### Other / utilities

* Create File From Attachment (`tkCreateFileFromAttachment`)
* Enable Integration Activity (`tkEnableAppActivity`)
* Search (`search`)

[methods]: /guides/tooling/salesforce-toolkit/methods

[Salesforce Flows]: https://help.salesforce.com/s/articleView?id=sf.flow.htm&type=5

<RelatedLinks
  title="RELATED GUIDES"
  items={[
{ label: translate("Install Salesforce SDK"), href: "/guides/tooling/sdks/salesforce", badge: "GUIDE" }
]}
/>
