Back to Autogpt

Ayrshare Post To GMB

docs/integrations/block-integrations/ayrshare/post_to_gmb.md

0.6.443.5 KB
Original Source

Ayrshare Post To GMB

<!-- MANUAL: file_description -->

Blocks for posting content to Google My Business profiles using the Ayrshare social media management API.

<!-- END MANUAL -->

Post To GMB

What it is

Post to Google My Business using Ayrshare

How it works

<!-- MANUAL: how_it_works -->

This block uses Ayrshare's API to publish content to Google My Business profiles. It supports standard posts, photo/video posts (categorized by type like exterior, interior, product), and special post types including events and promotional offers with coupon codes.

The block integrates with Google's Business Profile API through Ayrshare, enabling call-to-action buttons (book, order, shop, learn more, sign up, call), event scheduling with start/end dates, and promotional offers with terms and redemption URLs.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
postThe post text to be publishedstrNo
media_urlsOptional list of media URLs. GMB supports only one image or video per post.List[str]No
is_videoWhether the media is a videoboolNo
schedule_dateUTC datetime for scheduling (YYYY-MM-DDThh:mm:ssZ)str (date-time)No
disable_commentsWhether to disable commentsboolNo
shorten_linksWhether to shorten linksboolNo
unsplashUnsplash image configurationstrNo
requires_approvalWhether to enable approval workflowboolNo
random_postWhether to generate random post textboolNo
random_media_urlWhether to generate random mediaboolNo
notesAdditional notes for the poststrNo
is_photo_videoWhether this is a photo/video post (appears in Photos section)boolNo
photo_categoryCategory for photo/video: cover, profile, logo, exterior, interior, product, at_work, food_and_drink, menu, common_area, rooms, teamsstrNo
call_to_action_typeType of action button: 'book', 'order', 'shop', 'learn_more', 'sign_up', or 'call'strNo
call_to_action_urlURL for the action button (not required for 'call' action)strNo
event_titleEvent title for event postsstrNo
event_start_dateEvent start date in ISO format (e.g., '2024-03-15T09:00:00Z')strNo
event_end_dateEvent end date in ISO format (e.g., '2024-03-15T17:00:00Z')strNo
offer_titleOffer title for promotional postsstrNo
offer_start_dateOffer start date in ISO format (e.g., '2024-03-15T00:00:00Z')strNo
offer_end_dateOffer end date in ISO format (e.g., '2024-04-15T23:59:59Z')strNo
offer_coupon_codeCoupon code for the offer (max 58 characters)strNo
offer_redeem_online_urlURL where customers can redeem the offer onlinestrNo
offer_terms_conditionsTerms and conditions for the offerstrNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
post_resultThe result of the postPostResponse
postThe result of the postPostIds

Possible use case

<!-- MANUAL: use_case -->

Local Business Updates: Post daily specials, new arrivals, or service announcements directly to your Google Business Profile.

Promotional Campaigns: Create time-limited offers with coupon codes and online redemption links to drive sales.

Event Marketing: Announce upcoming events with dates, descriptions, and call-to-action buttons for reservations.

<!-- END MANUAL -->