Tool to upload an attachment or link an external resource to a task, project, or project_brief in Asana. Use when you need to attach a file or external URL to any Asana object.
urlstringThe URL of the external resource being attached. Required for attachments of type 'external'. Mutually exclusive with 'file'.
fileobjectRequired for 'asana' attachments. This field should be provided when uploading a file. Mutually exclusive with 'url'.
namestringThe name of the external resource being attached. Required for attachments of type 'external'. For file uploads, this is optional and will be derived from the file if not provided.
parentRequiredstringRequired identifier of the parent task, project, or project_brief, as a string. This is the GID of the object to attach the file or URL to.
connect_to_appbooleanOptional. Only relevant for external attachments with a parent task. A boolean indicating whether the current app should be connected with the attachment for the purposes of showing an app components widget. Requires the app to have been added to a project the parent task is in.…
resource_subtypestringThe type of the attachment. Must be 'asana' for file uploads or 'external' for URL attachments. If not specified, a file attachment of type 'asana' will be assumed. Note that if the value is 'external', 'name' and 'url' must also be provided.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.