Skip to main content

I have a trigger with the Email by Zapier step which receives an email with an mp3 attachment. I am trying to use that attachment in a Code step with Python. In the trigger this looks like “Attachment: not shown” and contains a hydration pointer which looks like “hydrate|||…”. 
 

When I map this to an input to the Code step like file = Attachment, and I run python code “print(input“file”]” the hydrate string is printed, not some bytes of the file as you would expect with an MP3 file. 
 

How can I get access to the file contents (bytes) in code? Is this a dehydrate operation?

Hi @spencerogden 

Good question.

Perhaps you can give us more of an overview about what you are trying to configure the Zap to do across all the steps.