Add Attachment to Task via Workato (Wrike Integrate)

I'm trying to move an attachment from a task to the parent task via Workato. 

I have a script that triggers a status change on the subtask, lists the attachments, filters for a specific one, and then gets the file's URL. I am using the File Handler module in Workato to download the file from that URL.

When I am trying to add it to the parent task, I'm running into trouble. Below is the path I am using on the Custom Action module.  

With the following Headers on the request:

I'm using the file URL instead of the File download per this article. But I also tried the output of the File module download mentioned above. 

The result is it adds an attachment to the parent task, with the correct file name, but it's like a "shell" and the actual file does not exist. 

When you try to open it you get the following:

The only thing that I can discriminate that is different from what I'm doing vs what is in the article I linked is that it is through Postman vs me using Workato. 

I'm not entirely sure how to accomplish this in Workato using the Custom Action module. Any help or direction from the community would be greatly appreciated. 

 

 

 

 

1
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
3 commenti

Hi Brian Gotti, thank you for reaching out! I've asked our Support experts to reach out to you about this. Please feel free to post here after you discuss it with our team 🙂

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Thank you Lisa

Is someone going to email me?

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

No problem Brian Gotti! I can see our Support team member has reached out to you already 👍

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Add Attachment to Task via Workato (Wrike Integrate)
[this list is visible for admins and agents only]

Su
Didn’t find what you were looking for? Write new post