Is it possible to receive emails in netsuite and t...
# suitescript
o
Is it possible to receive emails in netsuite and trigger a script based on that?
a
That sounds like email capture
c
You can do it yourself scripting the Message record
o
Cool, thanks. Looks good
b
Hi @orion.correa did you get to achieve the above??
o
Hi @badazzke I did get it to work. Email capture is surprisingly easy. You enable it in customizations->plug ins and upload a 1.0 script file. The function takes a single parameter which is an email object with getSubject() and getTextBody() functions which return those properties as strings. You can then parse them and kick off a scheduled script to do whatever processing you need
👍🏽 1
In the Manage Plug Ins link you can enable the specific email capture script and it tells you the email address to send to.
b
Thank you @orion.correa
a
👍 great news @orion.correa