Merging with Agentforce
If you have Agentforce enabled in your org, Merge Connect's base package allows you to embed Agent prompts into merge templates so you can include dynamic, agent-authored content alongside your standard merge fields.
- Navigate to the Merge Connect application in Salesforce, and select the Merge Templates tab.

- Click New to create a new template.

- Select either a Word Document or PowerPoint Presentation, then select Next.

- In the Merge Field Generator tab, click the Type dropdown, and select Agentforce.

- In the second dropdown menu that appears, select an Agent. These picklist values will only appear if you have both Agentforce enabled in your org and have an Agentforce Agent created.

- You will now see an example of the syntax for the Agentforce Prompt Merge Field and the input field with your selected agent's name and syntax.

- Click Copy. Upon selecting Copy, the UID in the prompt will automatically update.

- You can now paste the Agent Prompt Merge Field into the document template, where the Agent's prompt will appear.

- Add any additional text or merge fields into the designated area. Once completed, click Save.

- Toggle to the Merge Previewer to preview and test the Agent's response.

Please Note: Results will vary based on how the prompt is written and how the Agentforce Agent is configured to interpret it. This includes the Topics and Actions defined within the Agent.