Create a TSheets jobcode when a Salesforce task is added
CRMMarketingDeveloper ToolAPI IntegrationRecipe Tools
What it does
When someone creates a task in Salesforce, this automation makes an HTTP request to check for an existing jobcode. If none exists, it creates a new jobcode in TSheets and sends an email confirmation.
Who it's for
Operations teams who need to sync Salesforce tasks to TSheets jobcodes without manual entry.
Apps used
- Salesforce
- Rest Oauth
- Email by Workato
How teams use this
Sync new Salesforce tasks to TSheets
Create a TSheets jobcode each time someone adds a task in Salesforce, so time tracking stays in sync with project work. The team gets email confirmation of every sync.
Route alerts to different teams
Send success emails to operations and error alerts to IT so each team handles their part. Only the email recipients change based on the outcome.
Add task description to the jobcode
Include a step that maps the Salesforce task description field to the TSheets jobcode notes so more context is captured. This requires adding a field mapping before the create request.
How it works
- Monitor for new Salesforce tasks. A new task is created in Salesforce, which starts this automation and passes the task details forward.
- Check for existing TSheets jobcode. Make an HTTP request to TSheets to search for a jobcode that matches the task. If the response ID equals 0, no jobcode exists yet.
- Create the jobcode in TSheets. When no jobcode is found, make an HTTP request to TSheets to create a new jobcode based on the Salesforce task details.
- Send confirmation or error email. Send an email to notify the team whether the jobcode was created successfully or if an error occurred during the process.