Servicenow to Zendesk Integration - Send attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2025 03:35 AM
Hi All,
My requirement is to send an attachment from ServiceNow to Zendesk.
We have an endpoint and API key stored in system properties. Can we do this through a business rule and a script action? Could you please help me with the script.
Please assist.
Thanks & Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2025 03:55 AM - edited 09-11-2025 04:00 AM
Hi @Joshuu ,
Yes, it’s possible. In a Business Rule you can use GlideSysAttachment to read the file content from sys_attachment and send it via sn_ws.RESTMessageV2 to the Zendesk API (using your stored endpoint and API key from system properties).
Example flow: trigger on insert of attachment → read bytes → set REST headers → POST to Zendesk endpoint.
Second option is to use Flow Designer: trigger when an attachment is added, use Lookup Attachment action to pull the file, then add a REST step configured with your Zendesk connection to push the file. This way you get easier troubleshooting.
You can also check this thread for script code: https://www.servicenow.com/community/developer-forum/business-rule-to-send-attachment-to-3rd-party-t...
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
