Scrivener can compile documents directly to ePub. But if you have other documents that need converting, you might want to check out the new OS X Lion scripts at Mac OS X Automation:
There are also these new Lion Automation actions on the website.
More and more, services and functionality are moving to the Cloud. Accessing internet-hosted server-based content without the hassle and overhead of using a browser can prove to be invaluable in providing simple, quick, and elegant workflow soltuions. The Website Popup action displays specified HTML or web-based content in a floating HUD-like palette that can provide fast access to important content and then quicly get out of the way.
Create Banner Image from Text
Those familiar with the creation of web-content know that because of font availability and other issues, it may be necessary to display text on a webpage as an image instead of using CSS. The Create Banner Image from Text action is designed to simplify the process of creating an image from text. This action will render text passed to the action as an image, styled using either chosen type parameters or, in the case of passed RTF input text, use the existing formatting of the passed text.
Encode to MPEG Audio
An important aspect of creating audio content for distribution, is the encoding of source audio files to meet the hardware requirements of various computers and mobile devices. The Encode to MPEG Audio action makes the encoding of audio content an easy process, available on the desktop, and done without requiring the user to have technical knowledge of compression and audio settings.
Using the Encode to MPEG Audio action, MPEG audio files can be created from audio source files of types AIF, WAV, CAF, and SDII.
Web Content Data Type
Mac OS X Lion introduces a new input data type for Automator workflows: web content. Certain workflows and actions can now accept WebKit-based HTML web archive data, with an ID of com.apple.cocoa.web-archive, as their input. The new web content data type will now appear as an input option on the service workflow input menu (shown on left).
This web content data type is what applications like Safari, or other applications incorporating WebKit views, place on the pasteboard when elements are selected in these applications.
Lion is just out, so other Automator scripts will probably be posted there in the next few weeks.
–Michael W. Perry, Untangling Tolkien, Seattle