Showing posts with label Sitecore Content Hub Dam. Show all posts
Showing posts with label Sitecore Content Hub Dam. Show all posts

Thursday, October 23, 2025

 

Sitecore’s Agentic Tasting Menu

Pull up a chair, ignore the wobble in that table leg, and let me present today’s special: Sitecore’s quietly ambitious move into agentic AI. Think of it as a kitchen refit while the dining room is still full, with a new brigade of robot sous-chefs that never call in sick and only sometimes flambé the tablecloth.

This is a tasting menu, so we’ll move briskly. Aperitif in hand, let’s tour the courses: Agent API, Marketer MCP, AXP (the contextual assistant), Agentic Studio, and a side of Marketplace tapas. Oh, and for dessert, a controversy-free serving of Content Hub vs XM Cloud pairing notes.

Amuse-bouche: Why Agentic matters (and why your AI keeps burning the roux)

Most AI in content ops is a polite intern: it drafts, it suggests, it nods. Agentic AI is the line cook who reads the ticket, fetches the mise en place, plates it, gets sign-off, and sends it. Still with a human pass, still with guardrails, but crucially able to take multi-step actions in your actual systems.

That shift—from predictive to procedural—is the difference between “help me write a blog” and “create a landing page, spin variants, attach the right assets, schedule, and get legal approval.” Sitecore is wiring the kitchen so those agents can legally use the knives.

Course 1: Agent API — “The pass” where orders move

If your content stack is a restaurant, the Agent API is the pass. It’s where structured tickets get picked up and translated into actions without hauling the entire GraphQL pantry into the prompt.

  • What it’s for: Let agents create and update content, pull site info, handle localization parameters, and work through predictable steps without bespoke duct tape each time.
  • Why it matters: Agents need a simple, LLM-friendly contract to act reliably. The Agent API abstracts complexity so you can automate “create page → populate content → preview → submit for approval → publish” without hand-feeding a 40-step recipe to your model every time.
  • Chef’s tip: Treat it like a service layer for orchestration. Keep your prompts thin, your actions robust, and your audits visible.

Course 2: Marketer MCP — Model Context Protocol as your kitchen door

MCP is the swinging door between the LLM brain and your back-of-house systems. It defines the “tools” agents can use, how to call them, with what inputs and outputs, and under which house rules.

  • What it’s for: Securely exposing Sitecore capabilities to agent frameworks, so your agent doesn’t try to flambé the staging site on Friday at 4:59 pm.
  • Why it matters: Standardized tool contracts make it easier to build complex, multi-step flows that combine internal data, external sources, and Sitecore actions.
  • Real talk: MCPs work best when scoped. Think “knife roll,” not “everything drawer.” Smaller, purposeful toolkits produce more reliable agents.

Course 3: AXP — The contextual maître d’

AXP (Agentic Experience Platform) is the assistant that shows up wherever you are and offers contextually relevant actions. Editing a page? It suggests improving copy, generating variants, or pulling insights. In the asset library? It proposes tagging, compliance checks, or localization.

  • What it’s for: Meeting marketers and practitioners where they work, not making them climb into six different admin screens.
  • Why it matters: Adoption. AI that hides in sidebars dies in sidebars. AXP turns intelligence into immediate, inline actions.

Course 4: Agentic Studio — Build-your-own-brigade

This is the part where Sitecore lets you assemble your own flow agents. Out-of-the-box patterns for sales, insights, and ABM campaigns, plus the ability to compose custom flows: brief intake, data lookups, asset generation, approvals, and go-live steps.

  • What it’s for: Repeatable automations that your team can reason about, modify, and approve. Think “recipes,” not black-box magic.
  • Why it matters: Scale. If your best ops person can define the happy path and the safety checks once, an agent can run it reliably a hundred times.

Side plate: Marketplace tapas (order two, regret nothing)

Native-feel apps and AI skills that live inside the product. Translation helpers. Bulk editors. Import-export wizards. The rule of thumb: if it feels like a connector, it’s boring; if it changes the day-to-day for a marketer inside Sitecore, it’s delicious.

  • What to build: Anything that shortens handoffs and reduces “did we…?” moments. Simulation, rollback, audit trails. If it prints a clean chit at the pass, it’s a hit.

Pairing notes: XM Cloud vs Content Hub

  • XM Cloud: Pages, components, personalization, publishing. This is your front-of-house plating, where ABM campaigns and microsites live. Agent API and the first wave of MCPs are strongest here today.
  • Content Hub: Assets, metadata, variants, rights, and governance. It’s the pantry and cold line. Expect growing MCP coverage so agents can fetch, tag, validate, and localize without turning your taxonomy into alphabetical soup.

Pro move: Build flows that cross the divide. “Brief-to-campaign” means CH assets plus XM structure, with approvals that keep brand and legal sane.

Chef’s table: What good agentic flows look like

  • Clear ticket: outcome, constraints, and a target state. “German variant for Q4 landing page with approved lifestyle imagery, rights valid through Jan 31.”
  • Guardrails baked in: required fields, brand kit checks, legal phrases, rights windows, and language switches.
  • Human pass: multi-step automations culminating in a review that is fast, not performative.
  • Observability: every step logged. When a VP asks “who added the parsley,” you have the receipt.

Pitfalls to avoid (yes, we’ve spilled this soup before)

  • Kitchen sink MCPs: overstuffed toolkits that confuse agents and humans alike. Scope by job-to-be-done.
  • Prompt spaghetti: burying business rules in prose. Move policy into the action layer where it can be versioned and tested.
  • Sidecar UX: agents that live in a modal nobody opens. Surface actions where work already happens.
  • Silent failures: if a step fails and nobody hears it, did it even error? Alerts, retries, and graceful degradation are non-negotiable.

Recipes you can serve today

  • Migration mise en place: An MCP-powered pipeline that ingests files from S3 or SharePoint, de-duplicates, maps metadata to Content Hub, and runs rights checks before seating the assets.
  • Brief-to-plate flow: Take a brand brief, propose copy and components, select assets from CH, generate locales, submit for approvals, and publish to XM. All auditable. No smoke alarm.
  • Tag sommelier: An assistant that proposes taxonomy, flags drift, and warns when your sparkling-water tag is being used for still images again.

The bill, please: What this means for teams

  • Marketers: More doing, fewer opening tickets. You keep the taste, agents do the chopping.
  • Ops: Policies become code. Approvals shift left. Incidents get traceable.
  • Devs: You’re building sturdy counters and sharp knives, not bespoke one-off appliances. APIs, MCPs, and simple contracts win.

Final bite

Agentic AI done right isn’t magic. It’s mise en place. Sitecore’s stack, Agent API, MCP, AXP, and Agentic Studio turn prompts into personalized experiences with a human pass and a clean audit trail. It won’t make your copy go viral, but it will make your operation calm, predictable, and faster than the table that ordered after you.

If your current workflow feels like a tasting menu served in random order, it might be time to invite a few well-behaved agents into the kitchen. Just don’t let them near the crème brûlée torch unsupervised.

Monday, November 4, 2024

🍽️ Welcome to Sitecore Content Hub DAM Events! 🍽️ Today’s Special Menu: The Unexpected Events

 


Welcome, dear diners, to a most unique tasting experience! Our chef, Sitecore Content Hub DAM, has prepared a surprise menu where every dish is an “event” you never expected but might just love. Take a seat, enjoy, and let’s dive into the flavors of digital unpredictability. Bon appétit!

Starters

  • ENTITY_CREATED
    A Surprise Starter! – A new entity appears, freshly whipped up and served with a dash of spontaneity. Perfect for those who love a little mystery to begin.

  • ENTITY_DELETED
    Here One Moment, Gone the Next – A fleeting delicacy, savored briefly before it disappears forever. Was it there at all? Only your memory knows.

  • OPTION_LIST_CREATED
    Menu Expansion – A spontaneous assortment of options. Customize your experience with an array of unexpected choices!

  • APPLY_AUDIT_QUERY
    Detective’s Delight – A light starter to whet your appetite for insights. Dig deep and uncover the hidden flavors within each byte.

Mains

  • ENTITY_SAVED
    The “Safe Bet” Special – This classic comes securely served and saved, ensuring a delightful experience with no risks on the side.

  • REFRESH_SEARCH
    New Discoveries – A refreshing take on familiar flavors. Every refresh reveals a new twist, leaving you curious for what’s next.

  • REDUX_ERROR
    The Oops Platter – An unexpected, sometimes baffling blend of ingredients that will make you wonder, “Was this supposed to happen?” But hey, it adds a bit of character to the meal!

  • END_OF_PAGE_REACHED
    The Final Act – The ultimate course, served right at the end. Perfect for those who believe the best things are worth waiting (and scrolling) for.

Sides

  • COMPONENT_COPIED
    Cloning Perfection – A double serving of your favorite side, recreated with precision.

  • COMPONENT_PASTED
    Perfect Placement – Just the right addition to complement any meal, carefully placed for balance.

  • SELECTION_CHANGED
    New Tastes – A shift in flavors, a pivot in selection. Sides that adapt to your changing preferences with a smile.

Desserts

  • ERROR
    The Unplanned Surprise – Not on the menu, but a dish you’ll remember. Mistakes, after all, make for the most memorable bites.

  • CLOSE_INLINE_PREVIEW
    Preview’s Last Glimpse – Just a small taste, enough to intrigue before it fades away. Perfect for the curious diner who loves a tease.

  • INSERT_IMAGE
    Picture Perfect Finish – A beautiful visual dessert, carefully plated to end your meal with just the right touch of style.

  • INSERT_VIDEO
    Action Finale – A lively video dessert, bringing energy and rhythm to the end of your meal. Enjoy the show!

Our dishes may surprise and confound, but that’s the beauty of the experience at Sitecore Content Hub DAM. Thank you for dining with us, where each meal is an adventure and each event is a dish to remember.

Bon appétit!

Wednesday, June 5, 2024

Sitecore Content Hub Dam: A Fun Dive into Automated File Handling with Sitecore Content Hub and Azure Functions!


Welcome back to another thrilling installment in our journey of Sitecore Content Hub DAM (Digital Asset Management) automation! If you joined us in our last episode, we took a delicious bite into how to
move assets into the Sitecore Content Hub DAM with Azure storage containers. Now, we're here to sprinkle some extra seasoning on that recipe by automating the addition of correct headers and updating those all-important external component links. Picture this like adding the perfect garnish to an already mouth-watering dish!

Setting the Table: Recap from Our Last Meal

Previously, we explored the basics of uploading assets built using React Vite.js to an Azure storage container. The main course involved understanding how these assets could be moved seamlessly into the Sitecore Content Hub DAM, ensuring everything was neatly organized and easily accessible. But, as any great chef knows, it's not just about having the ingredients; it's about how you use them!

Today’s Special: Full Automation with Azure Functions

In this follow-up, we're diving deeper into the kitchen to see how automation can take our asset management to a Michelin-star level. Here’s the secret sauce: we’re going to automate the addition of the correct headers to our files and update the external component links in the Sitecore Content Hub DAM. Let’s break down this recipe step-by-step.

Ingredients

  • Azure Storage Account: Where your .js.gz files will be uploaded.
  • Azure Functions: Our automation tool to handle events and update headers and links.
  • Sitecore Content Hub DAM: The final destination for our beautifully prepared assets.
  • React Vite.js: Our asset generator.

The Automation Recipe

Step 1: Uploading the File

When you upload your .js.gz file (let's say it's named tasty-script.js.gz), it lands in the Azure storage container like a fresh ingredient in your pantry.

Step 2: Trigger the Azure Function

Our Azure Function, H_HandleBlobCreatedOrUpdated, is like a sous-chef that springs into action as soon as the file hits the container. Here’s what happens next:

  1. Event Detection: The function listens for the blob created event.
  2. Setting the Table: It sets the appropriate headers (Content-Type, Content-Encoding, and Cache-Control) to ensure our file is served just right.

Step 3: Update External Component Links

Once our headers are perfectly set, it’s time to update the links. Think of this as plating your dish and adding that final drizzle of sauce.

  1. Generate a Unique Version Identifier: This ensures that every time a new file version is uploaded, it doesn’t get mixed up with the old ones. We use a random identifier like 3e21a59a to make sure each serving is unique and fresh.
  2. Update Links in Sitecore Content Hub: The function then goes on a hunt through the Sitecore Content Hub, finding any references to the old file and updating them with the new version. It’s like making sure every guest at the restaurant gets the latest and greatest dish.

Here’s a Slice of the Code

Let’s take a peek at our master recipe: github.com


The Magic Behind the Scenes

So, what's the big deal about adding headers and updating links? Let's put it in restaurant terms. Imagine you're running a bustling kitchen. Each new dish (file) needs to be prepared just right before it reaches the dining room (your users). The headers are like the finishing touches - the perfect garnish, the right temperature. Without them, the dish might not be as appealing or could even be spoiled by the time it reaches the table.

Now, updating the external component link is like updating your menu. Every time you make a slight improvement to a recipe, you want to ensure your menu reflects the latest version. Otherwise, your customers might order something that no longer exists or get a previous version that doesn't showcase your culinary advancements.

Benefits of Full Automation Flow

1. Consistency and Accuracy:

  • Automation ensures that every file uploaded gets the exact headers and metadata it needs. No more manual mistakes or missed steps!

2. Time Savings:

  • Automating these processes means your team spends less time on repetitive tasks and more time on what really matters – creating great content.

3. Improved Performance:

  • Properly set headers can improve your site's performance by enabling efficient caching and ensuring that files are served correctly.

4. Seamless Updates:

  • Automatically updating links in the Sitecore Content Hub ensures that users always access the latest version of your files. This reduces the risk of broken links or outdated content.

The Complete Journey

Here’s a quick recap of the automation journey:

  1. Upload File: A new .js.gz file is built using React Vite.js and uploaded to an Azure storage container.
  2. Trigger Azure Function: The Azure Function detects the upload, sets the appropriate headers, and updates the metadata.
  3. Update Sitecore Content Hub: The function then updates the external component link in the Sitecore Content Hub to ensure the latest version is always available.

Why This Matters

In the digital world, ensuring your assets are always up-to-date and served correctly is crucial. This automation flow not only simplifies the process but also guarantees consistency and reliability. It's like having a top-notch kitchen where every dish is prepared perfectly and always updated with the latest recipe tweaks, ensuring your diners get the best experience every time.

What's Next?

Feeling inspired to take your content management to the next level? Try implementing this automation flow in your own projects and see the difference it makes. Stay tuned for more exciting tips and tricks as we continue to explore the delicious world of Sitecore Content Hub DAM automation!

Join the Conversation

Have you implemented similar automation in your workflows? Share your experiences and insights in the comments below. Let’s learn and grow together as we cook up the best digital experiences!

Sunday, February 18, 2024

The Curious Case of Misplaced Orders: A Tale from the Sitecore Content Hub Kitchen

Imagine walking into your favorite restaurant, your stomach rumbling in anticipation of that delicious meal you've been craving all week. You place your order with excitement, only to receive something entirely different. Confused, you look around, wondering if there's been a mix-up. But then, the waiter insists, "This is exactly what you ordered." Now, replace the restaurant with Sitecore Content Hub, the meal with React examples for version 4.2, and you have a scenario many developers, including myself, have recently navigated.

The Missing React Recipe

When Sitecore Content Hub 4.2 was freshly served, developers like us were eager to dive into the new features, especially those related to extending capabilities with React. However, the excitement quickly turned into a mild frustration as we scoured the documentation for React examples, only to find the kitchen seemingly bare. It felt like being promised a gourmet meal but ending up with an empty plate.

A Surprising Discovery

But then, as if by magic (or perhaps a curious exploration), we stumbled upon a hidden menu. Yes, React examples were there all along, but not where you'd expect them. They were tucked away under the "Users" section, a place we'd least expect to find our developer delicacies. It's akin to finding the chef's special not on the main menu, but scribbled on a napkin at the bar. An odd choice, indeed.

The Misplaced Order Dilemma

This peculiar placement brings to mind the restaurant scenario where you're served something you didn't order. In our case, we ordered developer resources but were handed user guides. It's a humorous mix-up, one that certainly brings a smile when you picture developers sifting through user manuals, searching for that secret sauce to spice up their Sitecore Content Hub projects.

A Public Appeal for a Menu Revamp

This brings us to a public question, or rather, a friendly nudge to our friends at Sitecore: Could we consider moving these React examples from the "Users" section to the "Developers" section? It's a small tweak, but one that could save future developers from the culinary confusion we faced. After all, code samples are like recipes; they belong in the hands of those cooking up the solutions, not those enjoying the meal.

The Silver Lining

Despite the initial mix-up, discovering these React examples under the "Users" section was like finding a hidden gem. It reminded us of the importance of exploring every nook and cranny, even in places we might not initially think to look. And, in a way, it added a dash of adventure to our development journey.

A Call to Action

So, to my fellow developers venturing into the world of Sitecore Content Hub, let this tale be a reminder to look beyond the obvious. Sometimes, the resources we need are just around the corner, albeit in an unexpected place. And to the wonderful team at Sitecore, perhaps it's time to consider a slight reorganization of the menu. After all, a well-organized kitchen is the key to a successful restaurant.

In the end, our tale of misplaced orders is more than just a humorous anecdote; it's a testament to the ever-evolving landscape of technology and the importance of clear, accessible documentation. As we continue to navigate the vast and sometimes confusing world of Sitecore Content Hub, let's do so with a sense of curiosity, patience, and a readiness to explore every section of the menu, no matter how strangely organized it may be.

Example: https://doc.sitecore.com/ch/en/users/40/content-hub/manage--external-page-events.html