> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.textit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Creating an Image Attachment URL

![](https://storage.crisp.chat/users/helpdesk/website/-/7/a/9/f/7a9fc4558a9de000/screenshot-2026-04-27-at-14502_8k9dzb.png)

To collect images from your contacts and generate a URL, you'll need to create two nodes:

1. A **Wait for Response** action to collect the your contact's image using an open-ended response rule:

![](https://storage.crisp.chat/users/helpdesk/website/-/7/a/9/f/7a9fc4558a9de000/screenshot-2026-04-27-at-14510_7gz53o.png)

2. A **Split by Expression** action to save the image in your flow results and create a URL for the image using the expression   `@(attachment_parts(input.attachments.0).url)` :

![](https://storage.crisp.chat/users/helpdesk/website/-/7/a/9/f/7a9fc4558a9de000/screenshot-2026-04-27-at-14515_ywi5ku.png)

Save the Result Name to be able to reference that URL. In the example above, we've saved the result as 'Image' to later reference it using `@results.image` 

Note that you can test out this workflow in the simulator by clicking the paperclip icon, choosing an image attachment, and selecting one of our pre-set images:  

![](https://storage.crisp.chat/users/helpdesk/website/-/7/a/9/f/7a9fc4558a9de000/screenshot-2026-04-27-at-14525_1p42dxu.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/7/a/9/f/7a9fc4558a9de000/screenshot-2026-04-27-at-14530_nr8lru.png)

![](https://storage.crisp.chat/users/helpdesk/website/-/7/a/9/f/7a9fc4558a9de000/screenshot-2026-04-27-at-14533_kxc1h.png)
Questions? Send us a message via the support widget in the bottom right corner of your browser.