function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
coppelcoppel 

What SFC functionality should be used to generate a file containing opportunity information?

Can someone please direct me in the right direction to automatically generate a file when an opportunity stage is marked as closed.  I would like the file to contain general opportunity information plus products and partnerships related to that opportunity.
 
Thanks for any help,
coppel
Gareth DaviesGareth Davies

You can set up work-flow rules that can trigger as opportunity stages change.

You could use one of these to send an email and populate its contents with information that you want. The email could be sent to a captive account, then use any number of email bound / POP3 solutions to process it.

Alternatively you could write a "watcher" service integrated using the API which periodically checks for updated opportunities of a certain stage and writes out a file.

Gareth.