AUTOMATING TASKS USING SIMPLE AGENTS


Sample agent: Replying to mail
You created an application that collects employee responses to a survey about the company benefits package. You want to automatically send a Thank You reply to anyone who responds.

First, open the application and click Create > Agent. IBM® Lotus® Notes® displays the Agent Properties box and opens the Programmer's pane.

In the Agent Properties box:

1. Enter Send Thank You in the Name field under the Basics tab.

2. In the Trigger section, select On event, then select After new mail has arrived from the list.

3. Close the Agent Properties box.

In the Programmer's pane:

1. Click the Objects tab in the Info List section, then select Action from the list of objects.

2. Click Add Action at the bottom of the Programmer's pane.


3. Select Reply to Sender in the Action field.

4. Select Reply to sender only.

5. In the Body field, enter Thank You .

6. Click OK.


7. Click File > Save to save the agent in the application.

See Also