Key takeaways
- GoDaddy’s Airo Plus Advertising Advisor makes use of OpenAI’s function-calling system to create customized social media content material for companies.
- The system overcomes challenges like non-deterministic prompts and response format variability by cautious immediate engineering and error dealing with.
- Person interface design and clear steerage are essential for efficient AI-powered advertising instruments.
In early 2023, GoDaddy started integrating AI into its advertising capabilities to make advertising duties simpler and extra accessible for customers. This consists of social media publish creation, electronic mail advertising campaigns, weblog content material era, and search engine optimisation.
By incorporating AI, we offered customers with a place to begin for his or her advertising duties, producing customized content material and saving them time. Many customers confronted the “clean syndrome,” struggling to start out making a publish; so as a substitute of brainstorming manually, they now obtain tailor-made solutions, dashing up their workflow and constructing belief in our instruments.
Nevertheless, we observed many customers needed a extra customized, interactive expertise—much like working with a advertising company. This perception drove us to deal with enhancing our instruments, providing dynamic, conversation-driven assist resulting in the creation of the Airo™ Plus Advertising Advisor.
Background
The Airo™ Plus Advertising Advisor is a instrument designed to information customers by numerous advertising actions with ease. It leverages the facility of AI to reply rapidly and precisely to person prompts. For instance, if a person desires to create a social media publish for his or her enterprise, Airo™ Plus Advertising Advisor supplies tailor-made suggestions based mostly on the person’s enterprise such because the enterprise title, the web site, the enterprise class, and different related social information together with their previous Fb posts.
To make this occur, we utilized OpenAI’s function-calling paradigm. Perform calling permits any language mannequin, like GPT-4o-mini, to immediately work together with exterior APIs or methods in a structured manner. We created a set of capabilities mapped to particular actions, comparable to creating, previewing, modifying, and publishing a social publish. When a person supplies textual content enter, OpenAI maps the immediate to considered one of these predefined capabilities.
For instance, if a person says, “I need to create a social publish about my new product: chocolate chip cookies“, the assistant identifies the immediate and triggers a operate that calls an exterior API we created. This API first retrieves the client’s enterprise info and social metadata. It then makes use of this information to generate an in depth OpenAI immediate that features the context—particularly, that the publish is a couple of chocolate chip cookie product. The aim of this immediate is to provide a related and interesting social media caption for the enterprise. By combining AI capabilities with structured operate mapping, the assistant ensures an environment friendly, intuitive expertise tailor-made to the person’s wants.
Within the following screenshot, the person has initiated a request to the Airo™ Plus Advertising Advisor to generate a social publish about their chocolate cookies product:
At this stage, the assistant is processing the request, gathering enterprise information, and making ready a related publish. Within the following screenshot, the AI-generated social publish is displayed, full with a instructed caption, picture, and scheduling particulars:

The person can overview the publish, make edits if essential, or proceed with publishing.
The way it works
Airo™ Plus Advertising Advisor makes use of OpenAI’s function-calling system to assist create and handle social media content material. Right here’s the way it works:
- Person enter: The person enters a request, like “Create a social publish about cookies.“
- System understanding: OpenAI analyzes the request to find out the very best subsequent step. It seems to be by a listing of predefined actions to seek out the one which matches the person’s request. For instance, when a person requests a social publish, the system maps their enter to the next operate, guaranteeing that solely related actions are taken. The next motion,
marketing-getSocialPostSuggestion
, is executed when the person immediate is create a social media publish:
{ title: "marketing-getSocialPostSuggestion", description: "Decide what the person desires to create a social publish about. Don't generate a publish caption. Use this operate if the immediate incorporates something a couple of publish.", parameters: { sort: "object", required: ["customerInput"], properties: { customerInput: { sort: "string", description: "What the person desires to create a publish about", }, }, }, }
- Motion execution: The system performs the chosen motion. For
marketing-getSocialPostSuggestion
, it retrieves enterprise particulars and previous posts. Utilizing this info and thecustomerInput
that it decided from the person immediate, it generates a publish suggestion that matches the person’s model and tone of voice.Right here is an instance of the Open AI immediate we use to generate the publish caption:
>
You are an professional at selling small companies on-line. Your aim is to advertise a services or products in a manner that drives gross sales and represents your model.
>Please create one artistic, interactive caption, key phrases associated to the caption, and a quick 5-10 phrase abstract of the theme of the publish beginning with 'Here is a publish'. Be aware the caption shouldn't begin with 'Here is a publish', solely the abstract ought to.
>The social media publish is about: [USER_INPUT] that speaks to a profit or audience associated to your services or products. Don't embody the phrase 'Do you know'. Be sure there no references to the enterprise title.
>You could reference (solely when wanted) this metadata concerning the enterprise: [BUSINESS_METADATA].
>Your caption must be concise (2 sentences) and have a [TONE] tone.
>Your caption must be spectacular and longer than 10 phrases. Your key phrases CANNOT be too particular as a result of they are going to be used to floor extremely related outcomes from a design template database. Your key phrases must be ordered by descending order of relevance.
>The phrase alternative and sentence construction must be diverse in comparison with these previous posts by the enterprise: [PAST_POSTS].
>You MUST use the JSON format offered and reply with legitimate JSON.
- Response era: After, all the info is collected, we create a JSON response which incorporates the person’s enterprise information together with the generated publish caption and that is despatched again to the UI because the operate response.
- UI replace: As soon as the UI receives the response and the motion is accomplished, the system updates the UI to show the consequence—a preview of a publish suggestion. The person can then overview, edit, or publish the publish.
The method is a steady cycle: the person submits a immediate, which is mapped to a particular operate, after which the UI is up to date with the outcomes. If the person decides to make modifications or requests a special motion, the cycle begins once more, with the system analyzing the brand new immediate, working the corresponding operate, and updating the UI accordingly.
The next flowchart illustrates how the Airo™ Plus Advertising Advisor processes person requests, maps them to the suitable AI operate, and generates a social publish based mostly on enterprise information and person enter:

Engineering challenges
When constructing the assistant, we bumped into some challenges. These included issues like non-deterministic prompts, response format variability, chat interface limitations, and decreasing cognitive load.
Non-deterministic prompts
AI prompts don’t all the time observe a predictable sample, which made it difficult to make sure they persistently mapped to the best capabilities. We needed to tweak and refine our operate descriptions and OpenAI prompts a number of instances to get them working as anticipated. To ensure the mannequin aligned with the person interface, we added particular guidelines and pointers for the AI comparable to ensuring that the responses the AI gave have been restricted to GoDaddy data. It was a balancing act between permitting flexibility in how customers work together with the instrument and ensuring the output match the wants of the system.
Within the earlier instance, when a person sorts a request to create a social publish, the AI assistant is anticipated to map it to the next operate description:
>Decide what the person desires to create a social publish about. Don't generate a publish caption. Use this operate if the immediate incorporates something a couple of publish.
Nevertheless, we encountered instances the place the operate description was too imprecise, main the assistant to misread the immediate. As an alternative of appropriately mapping to the operate, the assistant would fall again to a default ChatGPT response, leading to an inconsistent expertise— the person may obtain a generic AI-generated reply reasonably than progressing by the anticipated workflow.
To handle this, we refined and fine-tuned operate descriptions to make sure extra exact mapping. By bettering the readability and specificity of descriptions, we considerably decreased instances the place the assistant defaulted to unintended responses, guaranteeing a extra dependable and seamless interplay movement.
Response format variability
When working with OpenAI’s system, one problem we confronted was response format variability. Even when the immediate explicitly requested responses in JSON format, the outputs weren’t all the time structured persistently. This inconsistency meant that the info returned by OpenAI generally didn’t observe the anticipated format, making it tough to course of and show it correctly inside our interface.
This variability in response codecs created vital points, because it might trigger errors within the person expertise or disrupt the workflow. For instance, if the response was lacking important fields, was incomplete, or didn’t match the anticipated construction, it might break the movement, stopping customers from seeing the specified outcomes or interacting with the interface as meant. To unravel this downside, we carried out a collection of strong error-handling mechanisms to make sure the system remained dependable.
First, we added retry performance, permitting the person to resubmit their request robotically if the response didn’t meet the required format. This ensured that customers wouldn’t be left ready for a problem to be resolved manually and will proceed their work easily.
Moreover, we launched validation checks that fastidiously inspected every response earlier than it was processed additional. These checks verified that the response was full, correctly formatted, and contained all the required information to proceed the workflow. If any points have been detected, the system would both try and retrieve a corrected response or immediate the person to re-submit the request.
Collectively, these options decreased the influence of response format points. They ensured that customers might nonetheless depend on the system to carry out their duties with out disruption, even within the face of occasional inconsistencies within the format of OpenAI’s responses.
Restricted display actual property
Designing a cellular first user-friendly chat-based interface got here with distinctive UX challenges. Options like modifying and previewing social posts needed to be built-in right into a compact, conversational format. We centered on creating an intuitive design the place customers might make modifications with out being overwhelmed. Interactive components comparable to inline previews, quick-edit buttons, and guided prompts ensured the interface was each practical and visually accessible.
Person understanding and UI steerage
Some customers didn’t perceive what the assistant might do. Because the UI seemed like a typical chatbot, they entered random prompts unrelated to the supported advertising duties, resulting in confusion once they obtained sudden responses. The UI additionally didn’t clearly point out what actions have been out there, and there was no correct suggestions for unsupported inputs. To handle this, we plan to enhance the UI by shifting the assistant right into a modal or panel to make its performance clearer, limiting free-form enter to predefined actions, and including inline validation so customers get instant suggestions if their request isn’t supported. For instance, the assistant might reply with: “I at present assist social publish creation, modifying, and publishing. Please choose considered one of these actions.” We’re additionally exploring methods to supply instructed actions upfront so customers know what they will do. These enhancements will assist create a extra structured, intuitive expertise, decreasing confusion and guiding customers by their advertising duties extra successfully.
Conclusion
Constructing the Airo™ Plus Advertising Advisor required fixing advanced engineering challenges, together with operate mapping accuracy, OpenAI response variability, UI constraints, and person understanding. Guaranteeing the assistant appropriately mapped person prompts to predefined capabilities required a number of iterations of refining operate descriptions and dealing with edge instances. Moreover, working with OpenAI’s operate calling posed challenges in sustaining structured responses, implementing JSON formatting, and dealing with inconsistencies in mannequin outputs.
Past backend accuracy, we encountered front-end UX challenges, significantly round guiding customers throughout the assistant interface. Some customers entered unsupported prompts, anticipating a general-purpose chatbot, which led to sudden responses. To enhance this, we’re iterating on UI enhancements comparable to structured workflows, predefined actions, inline validation, and restricted enter choices to make sure customers work together throughout the assistant’s outlined capabilities.
Trying forward, we plan to refine immediate engineering, optimize system reliability, and discover extra deterministic AI responses. Moreover, we goal to increase capabilities, together with content material efficiency evaluation, and improved operate disambiguation to create a extra predictable, developer-friendly expertise. As AI continues evolving, so will our method to integrating it effectively into structured workflows.