Link to the Custom Agents help article from the Agents page#92326
Conversation
🦜 Polyglot Parrot! 🦜Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues: View the translation diffdiff --git a/src/languages/de.ts b/src/languages/de.ts
index 73a59da66d0..584a3c8cafa 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -2783,9 +2783,12 @@ ${amount} für ${merchant} – ${date}`,
},
agentsPage: {
title: 'Agenten',
- subtitle: 'Erstelle Agents, die deinen Workflow übernehmen. Spare dir die manuelle Arbeit und gewinne stundenweise Zeit im Alltag zurück.',
+ subtitle: `<muted-text>Erstellen Sie Agents, die Ihren Workflow übernehmen. Überspringen Sie die manuelle Arbeit und gewinnen Sie Stunden Ihres Tages zurück. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Weitere Infos</a>.</muted-text>`,
newAgent: 'Neue:r Agent:in',
- emptyAgents: {title: 'Keine Agenten erstellt', subtitle: 'Hör auf, Dinge manuell zu erledigen. Weise stattdessen eine:n Agent:in an und spare dir eine Menge Zeit.'},
+ emptyAgents: {
+ title: 'Keine Agenten erstellt',
+ subtitle: `<muted-text><centered-text>Hören Sie auf, Dinge manuell zu erledigen. Geben Sie stattdessen einem Agenten Anweisungen und sparen Sie eine Menge Zeit. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Erfahren Sie mehr</a>.</centered-text></muted-text>`,
+ },
error: {
genericAdd: 'Beim Hinzufügen dieses Agenten ist ein Problem aufgetreten',
genericUpdate: 'Beim Aktualisieren dieses Agenten ist ein Problem aufgetreten',
diff --git a/src/languages/es.ts b/src/languages/es.ts
index 0e4ce531640..92766b51bea 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -2655,11 +2655,11 @@ ${amount} para ${merchant} - ${date}`,
},
agentsPage: {
title: 'Agentes',
- subtitle: `<muted-text>Automatiza tareas con agentes personalizados. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Más información</a>.</muted-text>`,
+ subtitle: `<muted-text>Crea agentes para gestionar tu flujo de trabajo. Omite el trabajo manual y recupera horas de tu día. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Más información</a>.</muted-text>`,
newAgent: 'Nuevo agente',
emptyAgents: {
title: 'No se han creado agentes.',
- subtitle: `<muted-text><centered-text>Deja de hacer las cosas manualmente. En su lugar, instruye a un agente y ahorra mucho tiempo. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Más información</a>.</centered-text></muted-text>`,
+ subtitle: `<muted-text><centered-text>Deja de hacerlo todo manualmente. Da instrucciones a un agente y ahórrate mucho tiempo. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Más información</a>.</centered-text></muted-text>`,
},
error: {
genericAdd: 'Hubo un problema al agregar este agente',
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index 57360072a73..992cde705fa 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -2791,9 +2791,12 @@ ${amount} pour ${merchant} - ${date}`,
},
agentsPage: {
title: 'Agents',
- subtitle: 'Créez des agents pour gérer votre flux de travail. Évitez le travail manuel et gagnez des heures dans votre journée.',
+ subtitle: `<muted-text>Créez des agents pour gérer votre flux de travail. Évitez le travail manuel et gagnez des heures chaque jour. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">En savoir plus</a>.</muted-text>`,
newAgent: 'Nouvel agent',
- emptyAgents: {title: 'Aucun agent créé', subtitle: 'Arrêtez de faire les choses manuellement. Donnez plutôt des instructions à un agent et gagnez beaucoup de temps.'},
+ emptyAgents: {
+ title: 'Aucun agent créé',
+ subtitle: `<muted-text><centered-text>Arrêtez de tout faire manuellement. Donnez plutôt des instructions à un agent et gagnez beaucoup de temps. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">En savoir plus</a>.</centered-text></muted-text>`,
+ },
error: {
genericAdd: "Un problème est survenu lors de l'ajout de cet agent",
genericUpdate: 'Un problème est survenu lors de la mise à jour de cet agent',
diff --git a/src/languages/it.ts b/src/languages/it.ts
index 051aedcc454..0613d67a629 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -2779,9 +2779,12 @@ ${amount} per ${merchant} - ${date}`,
},
agentsPage: {
title: 'Agenti',
- subtitle: 'Crea agenti per gestire il tuo flusso di lavoro. Elimina il lavoro manuale e recupera ore della tua giornata.',
+ subtitle: `<muted-text>Crea agenti per gestire il tuo flusso di lavoro. Salta il lavoro manuale e recupera ore nella tua giornata. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Scopri di più</a>.</muted-text>`,
newAgent: 'Nuovo agente',
- emptyAgents: {title: 'Nessun agente creato', subtitle: 'Smetti di fare le cose manualmente. Dai istruzioni a un agente e risparmia un sacco di tempo.'},
+ emptyAgents: {
+ title: 'Nessun agente creato',
+ subtitle: `<muted-text><centered-text>Smetti di fare le cose manualmente. Dai istruzioni a un agente e risparmia un sacco di tempo. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Scopri di più</a>.</centered-text></muted-text>`,
+ },
error: {
genericAdd: "Si è verificato un problema durante l'aggiunta di questo agente",
genericUpdate: "Si è verificato un problema durante l'aggiornamento di questo agente",
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index 6c670e1a912..96026e47081 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -2752,9 +2752,12 @@ ${date} の ${merchant} への ${amount}`,
},
agentsPage: {
title: '担当者',
- subtitle: 'ワークフローを処理するエージェントを作成しましょう。手作業を省いて、1日の時間を何時間も取り戻せます。',
+ subtitle: `<muted-text>ワークフローを処理するエージェントを作成しましょう。手作業をなくして、毎日に数時間の余裕を取り戻せます。<a href="${CONST.CUSTOM_AGENTS_HELP_URL}">詳しく見る</a>。</muted-text>`,
newAgent: '新しいエージェント',
- emptyAgents: {title: 'エージェントは作成されていません', subtitle: '手作業はやめて、代わりにエージェントに指示を出して、時間を大幅に節約しましょう。'},
+ emptyAgents: {
+ title: 'エージェントは作成されていません',
+ subtitle: `<muted-text><centered-text>手作業はやめましょう。代わりにエージェントに指示して、大幅な時間短縮につなげてください。<a href="${CONST.CUSTOM_AGENTS_HELP_URL}">詳しく見る</a>。</centered-text></muted-text>`,
+ },
error: {
genericAdd: 'このエージェントの追加中に問題が発生しました',
genericUpdate: 'このエージェントの更新中に問題が発生しました',
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index c46fe466473..c5b591590df 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -2776,9 +2776,12 @@ ${amount} voor ${merchant} - ${date}`,
},
agentsPage: {
title: 'Agenten',
- subtitle: 'Maak agents aan om je workflow af te handelen. Sla het handmatige werk over en krijg uren van je dag terug.',
+ subtitle: `<muted-text>Maak agents aan om je workflow af te handelen. Sla het handmatige werk over en krijg uren per dag terug. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Meer informatie</a>.</muted-text>`,
newAgent: 'Nieuwe medewerker',
- emptyAgents: {title: 'Geen agents aangemaakt', subtitle: 'Stop met dingen handmatig doen. Geef in plaats daarvan een opdracht aan een agent en bespaar jezelf veel tijd.'},
+ emptyAgents: {
+ title: 'Geen agents aangemaakt',
+ subtitle: `<muted-text><centered-text>Stop met dingen handmatig doen. Geef een agent instructies en bespaar jezelf veel tijd. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Meer informatie</a>.</centered-text></muted-text>`,
+ },
error: {
genericAdd: 'Er was een probleem bij het toevoegen van deze agent',
genericUpdate: 'Er is een probleem opgetreden bij het bijwerken van deze agent',
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index b16eea88846..9955ae7a649 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -2770,9 +2770,12 @@ ${amount} dla ${merchant} - ${date}`,
},
agentsPage: {
title: 'Agenci',
- subtitle: 'Twórz agentów do obsługi swojego przepływu pracy. Pomiń ręczną pracę i odzyskaj godziny w ciągu dnia.',
+ subtitle: `<muted-text>Twórz agentów, którzy obsłużą twój workflow. Odpuść sobie ręczną pracę i odzyskaj godziny w ciągu dnia. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Dowiedz się więcej</a>.</muted-text>`,
newAgent: 'Nowy agent',
- emptyAgents: {title: 'Nie utworzono agentów', subtitle: 'Przestań robić wszystko ręcznie. Zamiast tego wydaj polecenia agentowi i zaoszczędź mnóstwo czasu.'},
+ emptyAgents: {
+ title: 'Nie utworzono agentów',
+ subtitle: `<muted-text><centered-text>Przestań robić wszystko ręcznie. Zamiast tego wydawaj instrukcje agentowi i oszczędzaj mnóstwo czasu. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Dowiedz się więcej</a>.</centered-text></muted-text>`,
+ },
error: {
genericAdd: 'Wystąpił problem podczas dodawania tego agenta',
genericUpdate: 'Wystąpił problem z aktualizacją tego agenta',
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index 71ba13605cd..8f468c5dfaa 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -2770,9 +2770,12 @@ ${amount} para ${merchant} - ${date}`,
},
agentsPage: {
title: 'Agentes',
- subtitle: 'Crie agentes para gerenciar seu fluxo de trabalho. Pule o trabalho manual e ganhe horas de volta no seu dia.',
+ subtitle: `<muted-text>Crie agentes para cuidar do seu fluxo de trabalho. Pule o trabalho manual e ganhe horas de volta no seu dia. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Saiba mais</a>.</muted-text>`,
newAgent: 'Novo agente',
- emptyAgents: {title: 'Nenhum agente criado', subtitle: 'Pare de fazer tudo manualmente. Instrua um agente e economize muito tempo.'},
+ emptyAgents: {
+ title: 'Nenhum agente criado',
+ subtitle: `<muted-text><centered-text>Pare de fazer tudo manualmente. Instrua um agente e economize muito tempo. <a href="${CONST.CUSTOM_AGENTS_HELP_URL}">Saiba mais</a>.</centered-text></muted-text>`,
+ },
error: {
genericAdd: 'Houve um problema ao adicionar este agente',
genericUpdate: 'Ocorreu um problema ao atualizar este agente',
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index 970ae5c097b..c3bfcd145fa 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -2695,9 +2695,12 @@ ${amount},商户:${merchant} - 日期:${date}`,
},
agentsPage: {
title: '代理人',
- subtitle: '通过自定义智能体自动化处理任务。',
+ subtitle: `<muted-text>创建代理来处理你的工作流程,摆脱手工操作,每天节省数小时。<a href="${CONST.CUSTOM_AGENTS_HELP_URL}">了解更多</a>。</muted-text>`,
newAgent: '新代理人',
- emptyAgents: {title: '尚未创建代理', subtitle: '别再手动处理这些事情了。交给智能代理去执行,为自己节省大量时间。'},
+ emptyAgents: {
+ title: '尚未创建代理',
+ subtitle: `<muted-text><centered-text>别再手动处理各种事务了。改为指示代理来完成,为自己节省大量时间。<a href="${CONST.CUSTOM_AGENTS_HELP_URL}">了解更多</a>。</centered-text></muted-text>`,
+ },
error: {
genericAdd: '添加此智能体时出现了问题',
genericUpdate: '更新此代理时出现问题',
Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
d43637d to
96f9365
Compare
|
Merging this into a feature branch, not main |
2267080
into
melvin-resource-updates-custom-agents-r3
|
A preview of your ExpensifyHelp changes have been deployed to https://906fc9c8.helpdot.pages.dev ⚡️ |
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.4.8-0 🚀
Bundle Size Analysis (Sentry): |
Help site reviewNo help site changes are required for this PR. No draft docs PR was created. WhyThis PR's only product-facing change is adding a Learn more link (plus minor subtitle copy tweaks) on the Agents page. That link points at a help article that already exists and is comprehensive:
That article was authored and merged in The article is also already wired into the help site:
This PR introduces no new feature, setting, button, or flow that the existing article doesn't already document — it just makes the existing article discoverable from inside the product. There's nothing to add or correct on the help site. @yuwenmemon, if you intended for the underlying Custom Agents help content to be reviewed (rather than just this in-product link), that lives in |
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.4.8-0 🚀
Bundle Size Analysis (Sentry): |
|
@yuwenmemon Is the page being empty expected for the moment? |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.4.8-3 🚀
|

Explanation of Change
Custom Agents had no in-product pointer to documentation, so there was no way for an admin to learn how the feature works without leaving the app and searching. This adds a "Learn more" link on the Agents page that opens the new help article, shown in both the empty state and once agents exist so it's discoverable either way.
This PR is based on
melvin-resource-updates-custom-agents-r3(the docs branch behind #92128) and targets it as the merge base, so the help article and the in-product link land together.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/643049
PROPOSAL:
Tests
customAgentbeta for your account.https://help.expensify.com/articles/new-expensify/ai-agents/Create-and-Use-Custom-Agents.Offline tests
Same as Tests — the link is a static help URL and renders identically offline (it just won't open a page until back online).
QA Steps
customAgentbeta for your account.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari