Can you automate autoresponder to only respond to the first message in a thread and not…
- User
Can you automate autoresponder to only respond to the first message in a thread and not to the others? In outlook obviously
Assistant
Yes, you can set up an Outlook autoresponder that only responds to the first message in a thread. Here's how to do it using a rule with VBA:
Sub AutoRespondToFirstMessageOnly(Item As Outlook.MailItem) Dim objConversation As Outlook.Conversation Dim objMessages As Outlook.SimpleItems ' Get the conversation this email belongs to Set objConversation = Item.GetConversation If Not objConversation Is Nothing Then ' Get all messages in this conversation Set objMessages = objConversation.GetChildren ' If this is the first message in the conversation If objMessages.Count = 1 Then Dim objReply As Outlook.MailItem Set objReply = Item.Reply objReply.Body = "Thank you for your message. This is an automated response." objReply.Send End If End If End Sub
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.