Post Mate icon

Post Mate

Schedule posts, generate captions and manage social media across 13 networks

Actions19

Caption (AI) → Hashtags

AI-generated

Summary

Suggests AI-generated hashtags for a caption or topic by calling Post Mate's POST /api/v1/ai/hashtags endpoint. Optionally tailors suggestions to a platform and limits how many are requested.

Inputs

  • Caption — Caption text to base suggestions on. If filled, it is sent and Topic is ignored.
  • Topic — Free-text topic, used only when Caption is empty.
  • Platform — Platform name such as 'instagram'. Sent only when non-empty, since hashtag norms vary by network.
  • Count — Number of hashtags to request, 3 to 30 (default 15).

Output shape

For each input item, one output item whose json is the API response from /ai/hashtags. If the response is an array, each element becomes its own item.

The exact response fields are not defined in the node source. It passes through whatever the API returns. If both Caption and Topic are empty, the node throws an error ('Provide either Caption or Topic'). With Continue On Fail enabled, the output instead contains an item with an error message. Requires Post Mate API credentials (Bearer API key, optional custom base URL).

Examples

Example 1: Add hashtags to an existing Instagram caption before scheduling a post.

Caption = {{$json.caption}}, Platform = instagram, Count = 15

Example 2: Get hashtag ideas for a topic when no caption exists yet.

Caption empty, Topic = 'sustainable coffee brewing', Count = 10

Links

Discussion