Skip to main content
Question

How to attach Salesforce documents to Trello cards


I have a form which creates new Account records in Salesforce. The form also captures a document which is also uploaded and attached to the new Account record in Salesforce (in the Notes and Attachments section)

 

This is what I want to do

  1. When an new record is created in SalesForce (Triggered by a field being completed and populated across from the form) create a new Card in Trello and populate some custom fields across from the new Account record
  2. Also pull across the uploaded document from the new Account record and put into into the new Trello card as an attachment

I can do 1 easily, buts its 2 that I cant see how to do

 

 

Did this topic help you find an answer to your question?

7 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi ​@Steve_King 

Help links for using files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps

For us to have more info, post screenshots showing how your Zap steps are outlined and configured in EDIT mode with the field mappings visible.


  • Author
  • Beginner
  • 3 replies
  • March 26, 2025

Hi Troy

Thanks for your reply

here are some screenshots to help

How do i dynamically attach the file from the newly created Account Record in SalesForce?


Troy Tessalone
Forum|alt.badge.img+14

@Steve_King 

In Zap step 3, the Card field expects the ID of the Card from Zap step 2.

 

If the files are not returned from the DATA OUT of Zap step 1, then you would need to add more Zap steps for Salesforce to find those file records linked to the record in Zap step 1.

Try this Zap action: Salesforce - Get Record Attachments

 


  • Author
  • Beginner
  • 3 replies
  • April 9, 2025

Thanks Troy, just got around to testing this. It works if I do these actions;

  1. When field is Updated in Record on Salesforce
  2. Create Trello Card
  3. Get Record Attachments
  4. Add Attachments to Trello Card

The remaining problem is that the file attachment in SalesForce is a PDF, but when it is attached to the Card in Trello it doesn't have a file type extension. How do I get it to pick up the file type extension?


Troy Tessalone
Forum|alt.badge.img+14

@Steve_King 

For us to have current info, post screenshots showing how your Zap steps are now configured in EDIT mode with the field mappings visible.


  • Author
  • Beginner
  • 3 replies
  • April 9, 2025

here are steps 3 and 4 as these are the components which relate to the attachment

 

 

 


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2703 replies
  • April 10, 2025

Hi ​@Steve_King,

 

If Trello doesn't recognize the PDF file extension in your Zap, try manually adding ".pdf" in the "File Name" field during the "Add Attachments to Trello Card" step. Use the file name from the "Get Record Attachments" step and append ".pdf" to ensure Trello treats it as a PDF.

Please try this and let me know if it resolves your issue or if you need further assistance.


Reply