Skip to content

Send Attachment Activity

The Send Attachment activity enables users to transmit files as attachments to specified recipients. This activity supports various file types, including images, and allows for custom naming and captions for the attached files.

Field Description Requirement
GSM Number The recipient's GSM (Global System for Mobile Communications) number to which the attachment will be sent. Required
File Name The full path and name of the file to be attached and sent. Required
Base64 String The Base64 encoded string of an image file. This field is required; provide an empty string or a valid Base64 representation when applicable. Required
File Name As An optional new name for the attached file as it appears to the recipient. Optional
Image Caption A descriptive caption for image attachments. This field is only applicable when sending an image file. Optional

Action Types & Examples

GSM Number

  • Format: String (phone number)
  • Example Result: "01111111111"

File Name

  • Format: String (file path)
  • Example Result: "C:RobustaTempQR.png"

Base64 String

  • Format: String (Base64 encoded)
  • Example Result: "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="

File Name As

  • Format: String (file path or name)
  • Example Result: "C:RobustaTempQR1.png"

Image Caption

  • Format: String
  • Example Result: "This is the image I mentioned."

Implementation Examples

Field Setup (Sending an Image with Caption) - GSM Number: 901111111111 - File Name: C:RobustaTempQR.png - Base64 String: iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg== - File Name As: MyQRCode.png - Image Caption: Here is the QR code.

Execution Parameters (Sending a PDF Document) - GSM Number: 01111111111 - File Name: C:DocumentsProjectPlan.pdf - Base64 String: "" - File Name As: "" - Image Caption: ""

Technical Notes

The Send Attachment activity supports various file types, but specific features like Image Caption are exclusive to image files. Ensure the provided File Name path is accessible by the execution environment. For image attachments, both File Name (path to the image) and Base64 String (the encoded image content) are typically configured, with the Base64 String taking precedence for image content. GSM numbers should include the appropriate country code prefix for international delivery.