---
schema_version: "1"
id: e85daf0dc6f2a47e0ae3b3549cb831afd3e0619173e0de8ac5fa0d0679b9a2a1
title: Timesheets | Create Timesheets and Timesheet Entries
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_tmsht_create_tmsht_and_tmsht_entr.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_tmsht_create_tmsht_and_tmsht_entr.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f2f0c4edae55b1c1a09348e94d9f288c261dd4909dffa70f319a01b268014664
description: Creates timesheets and timesheet entries for the current user. This action cannot be performed on behalf of another user.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Timesheets | Create Timesheets and Timesheet Entries

Creates timesheets and timesheet entries for the current user. This action cannot be performed on behalf of another user.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with the Agentforce for Timesheets and Labor Cost Optimization add-on license or included in Agentforce 1 Timesheets and Labor Cost Optimization Edition. Requires each user to have the Agentforce for Timesheets add-on to access the action.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d157601e67">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d157601e67 ">To enable agents:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d157601e67 ">
            <p>Manage AI Agents AND the admin user permission for the agent type you want to
              create</p>
            <p>OR</p>
            <p style="margin-bottom:0;">Customize Application</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d157601e67 ">To build and manage agents:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d157601e67 ">
            <p>Manage Agentforce Service Agents AND Manage AI Agents</p>
            <p>OR</p>
            <p style="margin-bottom:0;">Customize
              Application</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d157601e67 ">To use agent actions:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d157601e67 ">AI and Agentforce for Timesheets</td>

        </tr>
      </tbody>
    </table>

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">CreateTmshtAndTmshtEntr</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Invocable Action</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td><td class="slds-cell-wrap" style="vertical-align:top;">Create Timesheets and Timesheet Entries</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td><td class="slds-cell-wrap" style="vertical-align:top;">Agentforce for Timesheets</td></tr></tbody></table>

## Guidelines and Considerations

This action is a template containing example information. Customize it to your use case.