Glassix icon

Glassix

Consume Glassix API (v.0.1.0)

Actions8

Overview

The Glassix node for n8n, when configured with the "Protocols" resource and the "Send Protocols" operation, enables users to send protocol messages (such as text or files) between phone numbers or Apple IDs via the Glassix API. This is useful in scenarios where automated communication or document exchange is required, such as customer support, notifications, or workflow automation involving messaging.

Practical examples:

  • Sending a protocol message to a customer’s Apple ID as part of an onboarding process.
  • Automating the delivery of documents or files to clients via their phone number or Apple identifier.
  • Notifying team members about updates or incidents through protocol messages.

Properties

Name Type Meaning
Text String The main content of the protocol message to be sent.
Protocol Type String Specifies the type of protocol being used for the message.
From String The sender's phone number or Apple ID. Must be linked to your department.
To String The recipient's phone number or Apple identifier. For Apple IDs, must start with "urn:mbid:".
Additional Fields Collection Optional fields, such as files to attach. Allows adding multiple file URIs (max size 5MB each).

Output

The node outputs a json object containing the response from the Glassix API after attempting to send the protocol message. The exact structure depends on the API response, but typically includes status information, message IDs, and any error details if applicable.

If files are attached, the output may include references to these files, but binary data is not directly output—only metadata or confirmation.

Dependencies

  • External Service: Requires access to the Glassix API.
  • API Credentials: You must configure the glassixApi credentials in n8n.
  • Environment: No additional environment variables are specified, but network access to the Glassix service is required.

Troubleshooting

Common Issues:

  • Invalid Credentials: If the glassixApi credentials are missing or incorrect, authentication will fail.
  • Incorrect "To" Format: When sending to an Apple ID, ensure it starts with "urn:mbid:".
  • File Size Exceeded: Attached files must not exceed 5MB each.
  • Missing Required Fields: All required properties (Text, Protocol Type, From, To) must be provided.

Error Messages:

  • Authentication failed: Check your Glassix API credentials.
  • Invalid recipient format: Ensure the "To" field matches the expected format.
  • File too large: Reduce the file size below 5MB.

Links and References

Discussion