If your organization regularly receives numerous email attachments and you're looking to extract data from them using AI, SnapCall’s AI feature offers a powerful solution.
This unlocks several valuable use cases. For example, you can automatically prioritize specific tickets based on the contents of the attached picture or video or route them to the appropriate department, reducing overall resolution time and ensuring tickets aren’t left waiting in the queue for manual reassignment.
Additionally, this feature allows organizations to maintain their existing support processes unchanged, which is especially useful in cases where pictures or video cannot be uploaded directly through the SnapCall platform.
How the Feature Works
A customer creates a new support ticket in Zendesk—either by sending an email or filling out a form on your website.
The ticket includes one or more attachments, added either through the form or the email.
A webhook and trigger set up in your Zendesk workspace will automatically send the attached media to SnapCall.
SnapCall analyzes the media and provides AI-generated output directly within the ticket, meaning there'sno need for the customer to manually upload media through our interface.
For enhanced AI capabilities, you can configure a custom Flow in your SnapCall workspace, allowing the analysis and output to be tailored to your specific use case.
Step-by-Step Configuration Guide
1. Connect SnapCall to Your Zendesk Workspace
Ensure your SnapCall workspace is properly connected to Zendesk. This allows SnapCall to add comments and other relevant information directly to the ticket. You can verhere.
2. Set Up a Webhook in Zendesk
Go to the Admin Panel of your Zendesk workspace and create a new webhook with the following settings:
Connection Type: Trigger or Automation
Name: Choose any name you prefer
Endpoint URL: http://media-api.snapcall.io/staging
Request Method: POST
Request Format: JSON
Authentication: Bearer Token
Bearer Token: This is your SnapCall API key, found under General > Organization in your SnapCall workspace.
Save the webhook once completed.
3. Create a Trigger to Call the Webhook
Set up a new trigger in Zendesk with these conditions and actions:
Conditions (All must be true):
Ticket > Attachment
ISPresent
Conditions (Any of the following):
Ticket is Created
Ticket is Updated
Action:
Notify by > Active Webhook > [Select the webhook you just created]
JSON Payload (insert this in the field that appears under the action):
jsonCopyEdit{ "companyId": 1156, "urls": [ {% for comment in ticket.comments limit:1 offset:0 %} {% for attachment in comment.attachments %} "{{attachment.url}}"{% if forloop.last != true %},{% endif %} {% endfor %} {% endfor %} ], "ticket": {{ticket.id}} }
When this configuration is completed, each time a client add an attachment via email or through a form into a ticket, you should have a similar result to the one shown below.