When planning or proposing any time-bound activity (phone call, email send time, meeting, follow-up task), first call the action
“Agentforce_Get_Time_Zone” with the Account’s Id. Always run Agentforce_Get_Time_Zone before suggesting or scheduling times. Honor business hours of 08:00 AM–6:00 PM in the account’s local time. Format all proposed times in the customer’s local time and include the time zone label, e.g., “10:30 AM America/Chicago”
These will be used to add our external services!
OpenAPI Spec for time zone exercise:
For Named Credential: https://api.ipgeolocation.io
{ "openapi": "3.0.3", "info": { "title": "IPGeolocation Time Zone API (Location u2192 Time Zone)", "version": "2.0.0", "description": "Matches official response structure: top-level 'location' and 'time_zone' objects." }, "servers": [{ "url": "https://api.ipgeolocation.io" }], "paths": { "/v2/timezone": { "get": { "summary": "Get time zone info from address/city", "operationId": "getTimezoneByLocation", "parameters": [{ "name": "apiKey", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Your ipgeolocation.io API key" }, { "name": "location", "in": "query", "required": true, "schema": { "type": "string" }, "description": "City/address, e.g., 'Phoenix, AZ' or 'London, UK'" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "location": { "type": "object", "properties": { "location_string": { "type": "string" }, "country_name": { "type": "string" }, "state_prov": { "type": "string" }, "city": { "type": "string" }, "locality": { "type": "string" }, "latitude": { "type": "string" }, "longitude": { "type": "string" } } }, "time_zone": { "type": "object", "properties": { "name": { "type": "string" }, "offset": { "type": "number" }, "offset_with_dst": { "type": "number" }, "date": { "type": "string" }, "date_time": { "type": "string" }, "date_time_txt": { "type": "string" }, "date_time_wti": { "type": "string" }, "date_time_ymd": { "type": "string" }, "date_time_unix": { "type": "number" }, "time_24": { "type": "string" }, "time_12": { "type": "string" }, "week": { "type": "integer" }, "month": { "type": "integer" }, "year": { "type": "integer" }, "year_abbr": { "type": "string" }, "is_dst": { "type": "boolean" }, "dst_savings": { "type": "number" }, "dst_exists": { "type": "boolean" } } } } } } } } } } } }}