PhoAi Ultimate Facebook icon

PhoAi Ultimate Facebook

Node for Facebook

Actions2

Overview

This node operation allows sending an image message via a messenger platform (likely Facebook Messenger, based on the properties). It is useful for automating communication where images need to be sent programmatically to users or groups. For example, businesses can use this node to send promotional images, product photos, or visual updates directly to customers or group chats.

Properties

Name Meaning
Đây là phiên bản Thử nghiệm Chúng tôi sẽ liên tục cập nhât và sửa lỗi.
Mời bạn truy cập https://zalo.me/g/ebsiof941 để cập nhật thông tin mới nhất
A notice informing that this is a beta version and providing a link for updates.
Dữ liệu ảnh dạng data The binary field name containing the image data to be sent.
Facebook Page The Facebook page from which the message will be sent. Can be selected from a list or by ID.
Id người nhận The recipient's user ID in the messenger system.
Nội dung tin nhắn The text content accompanying the image message.

Note: Some properties like Workspace ID, Service ID, Staff ID are present but not relevant to this specific Resource-Operation combination.

Output

The output JSON contains:

  • success: A boolean indicating if the message was sent successfully.
  • response: The full response object returned from the API call after sending the image message.

Binary data is used as input only; the output does not include binary data.

Example output structure:

{
  "success": true,
  "response": {
    // API response details here
  }
}

Dependencies

  • Requires an API key credential for authentication with the messenger service.
  • Uses an HTTP request helper to send POST requests to the messenger API endpoint.
  • The node expects the image data to be provided as binary data under a specified field name.
  • The Facebook Page ID and recipient friend ID must be valid identifiers recognized by the API.

Troubleshooting

  • Common issues:

    • Invalid or missing binary image data field: Ensure the binary field name matches the actual input data.
    • Incorrect Facebook Page ID or recipient ID: Verify these IDs are correct and accessible.
    • API authentication errors: Confirm the API key credential is properly configured and has necessary permissions.
    • Network or API endpoint errors: Check connectivity and API availability.
  • Error messages:

    • Errors thrown during execution will include context about the item index causing the failure.
    • If "continue on fail" is disabled, the node will stop on the first error.
    • To resolve errors, verify all required parameters and credentials, and check the API documentation for limits or restrictions.

Links and References

Discussion