Send Someone an Expiring Download Link with Download Manager and AI
A private Download Manager link that stops after the hours and downloads you choose, ready to send or emailed for you.
Prerequisites
A site connected to WPVibe running Download Manager 3.3.80 or newer (tested on 3.3.80, free) on WordPress 6.9 or newer, with an administrator account, and the Packages and Download links groups turned on in Downloads, Settings, AI Abilities.
My WordPress site uses Download Manager. Give [who, for example a customer whose download failed] a private link to [which download] that stops working after [how long, for example 3 days] and [how many downloads, for example 3]. [Optional: email it to them at their email address.] 1. Run discover_abilities with category wpdm-packages, then wpdm-links. If the abilities this needs are not there, stop and tell me to install or update the free Download Manager plugin (3.3.80 or newer, on WordPress 6.9 or newer) and tick the Packages and Download links groups in Downloads, Settings, AI Abilities, then save. 2. Run wpdm/list-packages with search set to a word from the download. If several match, show me their titles and ask which one. If none match, tell me and stop. 3. Run wpdm/get-package. If its status is not publish, tell me the link won't work for anyone outside the site until it is published, and stop. If file_count is 0, tell me there is no file to download, and stop. If quota is above 0 and download_count is at or above it, tell me the download has reached its limit, so a link would only give a "Stock Limit Reached" note, and stop until the limit is raised. If it has more than one file, tell me the free plugin serves only the first one and name it. 4. Tell me that the link skips the download's password, locks and access roles, so anyone who has it can download it until it expires or runs out, and that every time the link is opened counts as a download, so a link preview in a chat app or a mail scanner can use one. Turn my time into hours (at most 720 unless the site's limit is higher; if I gave none, use 72) and use my download count (if I gave none, use 3). 5. If I asked you to email it: show me the name and address, the download, the hours and the download count. Tell me the email uses Download Manager's Email Lock Notification template (Downloads, Templates, Email Templates), which by default says "Thanks for Subscribing" to the site, and offer to give me the link to send myself instead. Wait for my yes, because the email goes out at once. Then run wpdm/email-download-link with package_id, recipients (email and name), expires_in_hours and usage_limit, and tell me which addresses it was sent to and when the links expire (expires_at). The plugin reports the addresses it tried, not delivery, so ask me to check with the person. 6. Otherwise run wpdm/create-download-link with package_id, type direct, expires_in_hours and usage_limit. Never use type page: on the free plugin that link leads to a page that doesn't exist. Give me the link and tell me when it expires (expires_at) and how many downloads it allows. 7. If wpdm/create-download-link or wpdm/email-download-link says the link is too long, tell me the site's maximum and ask for a shorter time.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Send Someone an Expiring Download Link with Download Manager and AI” recipe from the WPVibe cookbook on my connected site.
A customer’s download failed, a partner needs a file from your members area, or a reviewer should get an early copy. Sharing your login or opening the download to everyone is the quick fix, and the wrong one.
The AI finds the download, checks it is published and has a file, and makes a private link that stops working after the hours and downloads you choose. It gives you the link to send, or emails it straight to the person once you confirm the address.
A link skips the download’s password, locks and member access, so anyone who has it can download until it expires or is used up: keep the limits small. An emailed link goes out at once in Download Manager’s email lock template, which by default thanks the person for subscribing, so the AI reads you the address first and offers the plain link instead. Each opening counts as a download, link previews and mail scanners included, so allow a spare. Links last at most 30 days by default. Paste the prompt with who it is for, the download and how long.
Outcome
One private link to one download, with its expiry time and download limit, sent by you or emailed to the person.