# Netsuite Emails to Salesforce Attachements

**URL:** <https://connective.celigo.com/t/netsuite-emails-to-salesforce-attachements/663>\
**Category:** Integrator.io\
**Tags:** script, hooks, file-transfer, salesforce, netsuite\
**Created:** [September 5, 2022, 2:30pm UTC](https://connective.celigo.com/t/netsuite-emails-to-salesforce-attachements/663 "2022-09-05T14:30:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![josyrleydealmeida](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@josyrleydealmeida](https://connective.celigo.com/u/josyrleydealmeida)\
**Post date:** [September 5, 2022, 2:30pm UTC](https://connective.celigo.com/t/netsuite-emails-to-salesforce-attachements/663/1 "2022-09-05T14:30:56Z")

</div>

Hi,

We'd like to get emails sent to customers from Netsuite exported as Attachements into Salesforce.

As source, I have a saved search with the emails and I'd use a hook script (pre save page) in the IO to create a file and then send it to Salesforce using the transfer files option. Is it possible to do this way? Are there libraries available to use in the hook script to generate PDF or HTML file?  
  
Thank you.

Best,

Josy

---

<div class="post-metadata">

**Author:** ![courtneyjordan](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@courtneyjordan](https://connective.celigo.com/u/courtneyjordan)\
**Post date:** [September 9, 2022, 5:24pm UTC](https://connective.celigo.com/t/netsuite-emails-to-salesforce-attachements/663/2 "2022-09-09T17:24:01Z")

</div>

Hi @josyrleydealmeida,

I don't believe we have libraries for that. I recommend joining an [office hours](https://docs.celigo.com/hc/en-us/articles/360045798291-Get-real-time-help-in-Office-Hours) session so that you can get real-time help with this.
