Log time using an Asana task GID (workflow)
everhour_log_time_for_asana_taskLog time on an Everhour task using an Asana task GID without constructing a custom ID.
Instructions
Workflow tool: log time on the Everhour task that mirrors a given Asana task GID. Equivalent to calling everhour_log_time with task_id='as:', but spares you having to construct the ID.
Use this when the user gives you an Asana ticket URL/GID and asks to log hours.
Args:
asana_task_gid (string): Numeric Asana task GID
duration: same as everhour_log_time
date, comment, user_id: same as everhour_log_time
response_format ('markdown' | 'json')
Returns the created time record (same shape as everhour_log_time).
Examples:
User: "Log 1.5h on Asana ticket 1208034567890123 — implemented retry logic" → asana_task_gid='1208034567890123', duration={ hours: 1.5 }, comment='implemented retry logic'
Error Handling:
404 → Asana task not synced into Everhour
409 → a record already exists for that user/date (use everhour_update_time_record)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| comment | No | ||
| user_id | No | ||
| duration | Yes | ||
| asana_task_gid | Yes | Asana task GID (numeric string). Found in the Asana task URL after /0/. | |
| response_format | No | Output format: 'markdown' for human-readable text or 'json' for machine-readable structured data | markdown |