Save a Screenshot or Thumbnail

Hello, I’m trying to create a connector function to Slack and I’d like to send an image with the payload. Is there any way to save a screenshot or access Tulip’s thumbnail?

Hey @Gary, great question. Connector functions currently can’t send files directly in the payload, but for images there’s a good work around. When you save a picture to a Tulip table, the image is saved as a URL to the S3 bucket the image is stored in. While you can’t send the .png or .jpeg directly, you can send the URL via a connector function. I haven’t done this with the Slack connector, but I’m not seeing anything in their API Docs that leads me to think this wouldn’t work. For reference, here’s what images in tables look like:

Let me know if this is enough to get you on the right track!