7shifts
7shifts7shifts is a restaurant team management platform for employee scheduling, time clocking, payroll, communication, and operational workflows.
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Department7SHIFTS_CREATE_DEPARTMENTAcciónCreate a department at a company location, optionally make it the location's default department, and return its new department ID.
7SHIFTS_CREATE_DEPARTMENTAcciónCreate a department at a company location, optionally make it the location's default department, and return its new department ID.
Parámetros de entrada
namestringObligatorioDepartment name, up to 155 characters. Use a unique name for temporary fixtures.
defaultbooleanObligatorioWhether this department becomes the location's default department. Use false for isolated test fixtures.
company_idintegerObligatorioCompany ID in which to create the department.
location_idintegerObligatorioLocation ID that will own the department.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Department7SHIFTS_DELETE_DEPARTMENTAcciónPermanently delete a department, optionally transferring its roles and shifts to another department.
7SHIFTS_DELETE_DEPARTMENTAcciónPermanently delete a department, optionally transferring its roles and shifts to another department.
Parámetros de entrada
company_idintegerObligatorioCompany ID that owns the department.
transfer_tointegerDestination department ID for roles and shifts currently assigned to the deleted department; omit for an unused temporary department.
department_idintegerObligatorioDepartment ID to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Department7SHIFTS_GET_DEPARTMENTAcciónReturn one department by company and department ID.
7SHIFTS_GET_DEPARTMENTAcciónReturn one department by company and department ID.
Parámetros de entrada
company_idintegerObligatorioCompany ID that owns the department.
department_idintegerObligatorioDepartment ID to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User Assignments7SHIFTS_GET_USER_ASSIGNMENTSAcciónReturn one user's assigned locations, departments, and roles in a single read.
7SHIFTS_GET_USER_ASSIGNMENTSAcciónReturn one user's assigned locations, departments, and roles in a single read.
Parámetros de entrada
user_idintegerObligatorioUser ID whose location, department, and role assignments to return.
company_idintegerObligatorioCompany ID that owns the user.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Companies7SHIFTS_LIST_COMPANIESAcciónReturn companies available to the connected access token, including the company IDs needed by company-scoped tools.
7SHIFTS_LIST_COMPANIESAcciónReturn companies available to the connected access token, including the company IDs needed by company-scoped tools.
Parámetros de entrada
modified_sincestringdateReturn only companies modified on or after this date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Departments7SHIFTS_LIST_DEPARTMENTSAcciónList one page of departments in a company, optionally filtered by location or modification date, with a cursor when more are available.
7SHIFTS_LIST_DEPARTMENTSAcciónList one page of departments in a company, optionally filtered by location or modification date, with a cursor when more are available.
Parámetros de entrada
limitintegerMaximum departments to return in this page (1-200).
cursorstringOpaque next_cursor from a previous response; omit for the first page.
company_idintegerObligatorioCompany ID whose departments to return.
location_idintegerReturn departments belonging to this location.
modified_sincestringdateReturn only departments modified on or after this date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Locations7SHIFTS_LIST_LOCATIONSAcciónList one page of locations in a company and return location IDs used to filter schedules, users, and departments, with a cursor when more are available.
7SHIFTS_LIST_LOCATIONSAcciónList one page of locations in a company and return location IDs used to filter schedules, users, and departments, with a cursor when more are available.
Parámetros de entrada
limitintegerMaximum locations to return in this page (1-500).
cursorstringOpaque next_cursor from a previous response; omit for the first page.
deletedbooleanWhether to return deleted locations instead of active locations.
company_idintegerObligatorioCompany ID whose locations to return.
modified_sincestringdateReturn only locations modified on or after this date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Shifts7SHIFTS_LIST_SHIFTSAcciónList one page of scheduled shifts for a company with employee, location, department, role, time-range, publication-state, and open-shift filters, with a cursor when more are available.
7SHIFTS_LIST_SHIFTSAcciónList one page of scheduled shifts for a company with employee, location, department, role, time-range, publication-state, and open-shift filters, with a cursor when more are available.
Parámetros de entrada
openbooleanFilter by whether shifts are open for workers to request.
draftbooleanReturn only unpublished draft shifts; overrides the deleted filter.
limitintegerMaximum shifts in this page (1-500).
cursorstringOpaque next_cursor from a previous response; omit for the first page.
deletedbooleanReturn published shifts that were deleted; cannot be combined with draft.
end_gtestringdate-timeReturn shifts ending on or after this ISO 8601 date-time.
end_ltestringdate-timeReturn shifts ending on or before this ISO 8601 date-time.
role_idintegerReturn shifts assigned to this role.
sort_bystringenumSort shifts by start or end time.
startenduser_idintegerReturn shifts assigned to this user.
sort_dirstringenumSort direction.
ascdescshift_idsinteger[]Return only these shift IDs. Sent as one comma-separated query value.
start_gtestringdate-timeReturn shifts starting on or after this ISO 8601 date-time.
start_ltestringdate-timeReturn shifts starting on or before this ISO 8601 date-time.
company_idintegerObligatorioCompany ID whose shifts to return.
location_idintegerReturn shifts at this location.
department_idintegerReturn shifts in this department.
include_draftbooleanInclude draft shifts with published shifts; overrides the deleted and draft filters.
department_idsinteger[]Return shifts in any of these departments.
modified_sincestringdate-timeReturn only shifts modified on or after this ISO 8601 date-time.
include_deletedbooleanInclude deleted shifts with other matching shifts.
consider_tz_in_rangesbooleanHonor offsets in supplied start/end range date-times instead of treating them as local location time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Users7SHIFTS_LIST_USERSAcciónList employees and administrators in a 7shifts company, with optional status, name, and one assignment filter. Returns one page and an opaque cursor when more users are available.
7SHIFTS_LIST_USERSAcciónList employees and administrators in a 7shifts company, with optional status, name, and one assignment filter. Returns one page and an opaque cursor when more users are available.
Parámetros de entrada
namestringFilter by a partial or full employee name.
limitintegerMaximum users to return in this page (1-500).
cursorstringOpaque next_cursor from a previous response; omit for the first page.
statusstringenumReturn only active or inactive users.
activeinactiverole_idintegerReturn users assigned to this role; do not combine with location_id or department_id.
sort_bystringProvider-supported field and direction used to sort the page.
company_idintegerObligatorioCompany ID whose users to return.
location_idintegerReturn users assigned to this location; do not combine with department_id or role_id.
department_idintegerReturn users assigned to this department; do not combine with location_id or role_id.
modified_sincestringdateReturn only users modified on or after this date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Department7SHIFTS_UPDATE_DEPARTMENTAcciónReplace a department's name and default setting.
7SHIFTS_UPDATE_DEPARTMENTAcciónReplace a department's name and default setting.
Parámetros de entrada
namestringObligatorioComplete replacement name for the department.
defaultbooleanObligatorioComplete replacement for whether this is the location's default department.
company_idintegerObligatorioCompany ID that owns the department.
department_idintegerObligatorioDepartment ID to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not