Actions69
- App Actions
- Chat Actions
- Device Actions
- Group Actions
- Add Participant
- Approve Participant Request
- Create Group
- Demote Participant
- Export Group Participants
- Get Group Info
- Get Group Info From Link
- Get Group Invite Link
- Get Group Participants
- Get Participant Requests
- Join Group With Link
- Leave Group
- Promote Participant
- Reject Participant Request
- Remove Participant
- Set Group Announce Mode
- Set Group Locked Status
- Set Group Name
- Set Group Photo
- Set Group Topic
- Message Actions
- Newsletter Actions
- Send Actions
- User Actions
App → Get Media by Path
AI-generatedOverview
This node operation retrieves media files from the Go WhatsApp Web MultiDevice API by specifying the relative media path. It is useful for scenarios where you need to access specific media stored in the app, such as images or videos, by providing their path within the media storage structure. For example, you can fetch a photo from a particular date and device folder using its relative path.
Use Case Examples
- Fetching a media file from a specific device and date folder by providing the relative path like 'statics/media/628123456789/2024-01-15/1705123456-abc123.jpg'.
- Accessing media files for further processing or sending within an automation workflow.
Properties
| Name | Meaning |
|---|---|
| Device ID | Optional device ID override. If set, it takes priority over the credential device ID. |
| Media Path | The relative path to the media file (e.g., statics/media/phone/date/filename). This is a required property for locating the media to retrieve. |
Output
JSON
json- The JSON output contains the retrieved media file data or metadata based on the specified media path.
Dependencies
- Requires an API key credential for Go WhatsApp Web MultiDevice API with host URL configuration.
Troubleshooting
- If the media path is incorrect or the file does not exist, the node may throw an error indicating the media could not be found. Verify the path format and existence of the file.
- If the device ID override is set incorrectly, the node might fail to retrieve media. Ensure the device ID is valid or leave it empty to use the credential device ID.
- Network or authentication issues with the Go WhatsApp API can cause failures. Check API credentials and connectivity.