{"id":4723,"date":"2020-05-28T08:40:31","date_gmt":"2020-05-28T15:40:31","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=4723"},"modified":"2020-05-28T08:40:31","modified_gmt":"2020-05-28T15:40:31","slug":"new-teams-shifts-features-to-build-richer-firstline-worker-experiences","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/new-teams-shifts-features-to-build-richer-firstline-worker-experiences\/","title":{"rendered":"New Microsoft Teams Shifts features to build richer Firstline Worker experiences"},"content":{"rendered":"<p>At Microsoft Build 2020, we announced new features and APIs for developers to extend the Shifts app experience in Microsoft Teams for Firstline Workers.<\/p>\n<p>Shifts is the schedule management tool for Firstline Workers. Whether the manager is putting together a schedule for their team or a Firstline Worker is swapping shifts with a teammate, Shifts has the team covered.<\/p>\n<p>These new enhancements allow developers to take advantage of Shifts data and leverage existing systems and investments. Additionally, developers can help save Firstline Worker managers time by automating workflows and enabling Shifts information in other apps to streamline processes and optimize business operations.<\/p>\n<h3>Shifts Graph APIs in v1.0<\/h3>\n<p>Shifts Graph APIs are now in general availability (GA) on the v1.0 endpoint. These APIs will allow you to fully integrate Shifts data (e.g., schedules, open shifts, time off requests) with external workforce management systems \u2013 providing you the flexibility to build customized Shifts experiences in the back-end, while giving end users a rich, front-end experience in Teams.<\/p>\n<p><strong>Example \u2013 <em>Create a new WorkforceIntegration with SwapRequest enabled for eligibility filtering<\/em><\/strong><\/p>\n<p><img decoding=\"async\" class=\"alignleft wp-image-4724\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-WorkforceIntegration-Request-in-HTTP-1024x504.png\" alt=\"Image of WorkforceIntegration Request in HTTP\" width=\"650\" height=\"320\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-WorkforceIntegration-Request-in-HTTP-1024x504.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-WorkforceIntegration-Request-in-HTTP-300x148.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-WorkforceIntegration-Request-in-HTTP-768x378.png 768w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-WorkforceIntegration-Request-in-HTTP.png 1026w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<p>We\u2019ve also hosted our open-source integrations with popular workforce management systems, such as Kronos and JDA on GitHub <a href=\"https:\/\/github.com\/OfficeDev\/Microsoft-Teams-Shifts-WFM-Connectors\">here<\/a>.<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/api\/resources\/shift?view=graph-rest-1.0\"><strong>Access Shifts Graph APIs docs here<\/strong><\/a><\/p>\n<h3><strong>Shifts + Power Automate <\/strong><\/h3>\n<p>We\u2019re also excited to show you the <a href=\"https:\/\/docs.microsoft.com\/en-us\/connectors\/teams\/\">enhanced Shifts + Power Automate capabilities<\/a>. New actions are now available inside Power Automate, so that you can take information from Shifts and create customized workflows with other apps and perform operations at scale \u2013 automating key processes for Firstline Workers with little to no code.<\/p>\n<p><img decoding=\"async\" class=\"alignleft wp-image-4725\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-new-Teams-actions-within-Power-Automate.jpg\" alt=\"Image of new Teams actions within Power Automate\" width=\"650\" height=\"630\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-new-Teams-actions-within-Power-Automate.jpg 800w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-new-Teams-actions-within-Power-Automate-300x291.jpg 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-new-Teams-actions-within-Power-Automate-768x744.jpg 768w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-new-Teams-actions-within-Power-Automate-24x24.jpg 24w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/05\/Image-of-new-Teams-actions-within-Power-Automate-48x48.jpg 48w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<p>New triggers and templates will be rolling out this summer to support a variety of scenarios such as enabling auto-approvals for shift requests in scenarios where a manager\u2019s approval is not needed.\u00a0Check out some of our existing templates and samples for return to work scenarios on GitHub <a href=\"https:\/\/github.com\/OfficeDev\/Microsoft-Teams-Shifts-Power-Automate-Templates\">here<\/a>.<\/p>\n<p><a href=\"https:\/\/preview.flow.microsoft.com\/en-us\/connectors\/shared_teams\/microsoft-teams\/\"><strong>Start automating processes with Shifts + Power Automate here<\/strong><\/a><strong>\n<\/strong><\/p>\n<h3>Next Steps<\/h3>\n<p>If you have any feedback about or suggestions for these new Teams enhancements, please let us know via <a href=\"https:\/\/microsoftteams.uservoice.com\/forums\/555103-public-preview\/category\/182881-developer-platform\">User Voice<\/a>.<\/p>\n<p>Happy coding!<\/p>\n<p>Microsoft 365 Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>New features and APIs for developers to extend the Shifts app experience in Microsoft Teams for Firstline Workers.<\/p>\n","protected":false},"author":69076,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3,128],"tags":[],"class_list":["post-4723","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph","category-microsoft-teams"],"acf":[],"blog_post_summary":"<p>New features and APIs for developers to extend the Shifts app experience in Microsoft Teams for Firstline Workers.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/4723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69076"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=4723"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/4723\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=4723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=4723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=4723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}