HARPA.AI
LIBRARYAPIGUIDESAI COMMANDSBLOG

๐Ÿ’Žย ย Harpa AI Assistant | Internet Access

Your personal Harpa AI assistant that searches Harpa.ai for your query.

Created by Morteza
Updated on Jan 12, 23:35
Installed 13 times
RUNS JS CODE

How to Use

IMPORT COMMAND

Content

- type: say
  message: >-
    **Tip:** This command performs a thorough in-depth online search for a given
    query or topic and is best used for Harpa AI Guides. It takes time and is
    token hungry (~20k tokens on GPT-4o-mini per search depth).
- param: userQuery
  message: '![icon](/img/commands/general-search-refraction.svg) Type your search query:'
  type: ask
  options: null
  default: ''
- steps:
    - message: โณ Give me a minute to search through the web for you...
      type: say
    - value: '{{userQuery}}'
      type: calc
      func: set
      param: query
      format: text
    - type: calc
      func: set
      param: information
      format: ''
      value: "## Harpa AI Landing Page:\n1.\thttps://harpa.ai/\n2.\thttps://harpa.ai/library\n3.\thttps://harpa.ai/grid\n4.\thttps://harpa.ai/guides\n5.\thttps://harpa.ai/blog\n6.\thttps://harpa.ai/pricing\n7.\thttps://harpa.ai/terms\n8.\thttps://harpa.ai/login\n9.\thttps://get.harpa.ai/\n10.\thttps://harpa.ai/case/chatgpt-for-productivity\n11.\thttps://harpa.ai/case/chatgpt-for-marketing-and-seo\n12.\thttps://harpa.ai/case/learning\n13.\thttps://harpa.ai/case/chatgpt-for-copywriting\n14.\thttps://harpa.ai/case/chatgpt-for-recruiting\n15.\thttps://harpa.ai/case/chatgpt-for-engineering\n16.\thttps://en.wikipedia.org/wiki/ISO/IEC_27001\n17.\thttps://en.wikipedia.org/wiki/General_Data_Protection_Regulation\n18.\thttps://harpa.ai/case/chatgpt-for-google-search\n19.\thttps://harpa.ai/case/chatgpt-for-linkedin\n20.\thttps://harpa.ai/case/chatgpt-for-facebook\n21.\thttps://harpa.ai/case/chatgpt-for-instagram\n22.\thttps://harpa.ai/case/chatgpt-for-twitter\n23.\thttps://harpa.ai/case/chatgpt-for-youtube\n24.\thttps://harpa.ai/case/chatgpt-for-tiktok\n25.\thttps://harpa.ai/case/chatgpt-for-amazon\n26.\thttps://harpa.ai/case/chatgpt-for-upwork\n27.\thttps://harpa.ai/case/chatgpt-for-fiverr\n28.\thttps://harpa.ai/case/chatgpt-for-gmail\n29.\thttps://harpa.ai/case/chatgpt-for-pinterest\n30.\thttps://harpa.ai/case/chatgpt-for-quora\n31.\thttps://harpa.ai/case/chatgpt-for-stackoverflow\n32.\thttps://harpa.ai/pricing\n33.\thttps://chatgpt.com/auth/login\n34.\thttps://harpa.ai/pricing\n35.\thttps://openai.com/\n36.\thttps://harpa.ai/guides/chunking\n37.\thttps://www.youtube.com/@HarpaAI\n38.\thttps://twitter.com/HarpaAI\n39.\tmailto:[email protected]\n40.\thttps://discord.gg/B9Evx82m4K\n41.\thttps://harpa.ai/cases\n42.\thttps://harpa.ai/privacy\n## Harpa AI Library Landing Page:\n1.\thttps://harpa.ai/\n2.\thttps://harpa.ai/grid\n3.\thttps://harpa.ai/chatml/overview\n4.\thttps://harpa.ai/library\n5.\thttps://harpa.ai/library/respond-to-email/6728a0e322b006c16f7f4836\n6.\thttps://harpa.ai/library/word-press-content-generator-(via-webhook)/6728a10f22b006c16f7f4a84\n7.\thttps://harpa.ai/library/telegram%2C-whats-app-%26-discord-summary/672b88ba30c666cf8e869d4f\n8.\thttps://harpa.ai/library/extracts-you-tube-links/6728a0c222b006c16f7f4645\n9.\thttps://harpa.ai/library/linked-in-search-results-export/6777c9ee03f75a52e5c63f0e\n10.\thttps://harpa.ai/library/deep-research-bot/6728a0a922b006c16f7f44e5\n11.\thttps://harpa.ai/library/web-service-support-agent/6728a0b422b006c16f7f4593\n12.\thttps://harpa.ai/library/harpa-ai-meta-prompt-generator/675c1a4377626e6e0b533d85\n13.\thttps://harpa.ai/library/database-enrichment/6728a09322b006c16f7f43e3\n14.\thttps://harpa.ai/library/extract-urls-from-page/6728a0d422b006c16f7f474a\n15.\thttps://harpa.ai/library/reddit-thread-to-a-blog-post-or-tweet/67290d6022b006c16f87cecb\n16.\thttps://harpa.ai/library/convert-page-to-json/677982b503f75a52e5f383e6\n17.\thttps://harpa.ai/library/linked-in-company-employees-export/6777c55503f75a52e5c5b773\n18.\thttps://harpa.ai/library/post-%26-comments-extraction/6729078222b006c16f874d93\n19.\thttps://harpa.ai/\n20.\thttps://harpa.ai/cases\n## Commands By HARPA AI\n1.\thttps://harpa.ai/library\n2.\thttps://harpa.ai/grid\n3.\thttps://harpa.ai/chatml/overview\n4.\thttps://harpa.ai/library\n5.\thttps://harpa.ai/library/pareto-principle-(80%2F20-rule)-summarizer/672e3fa62a8a03fd59c551b4\n6.\thttps://harpa.ai/library/roast-my-profile/672e3d392a8a03fd59c51b72\n7.\thttps://harpa.ai/library/twitter-thread-extraction/6728a3fe22b006c16f7f7580\n8.\thttps://harpa.ai/library/you-tube-language-studying-v11/6751bff804c311a2fbd7661d\n9.\thttps://harpa.ai/library/proofreader-%26-editor/675b349177626e6e0b4660de\n10.\thttps://harpa.ai/library/linked-in-group-members-export/6770460ce1e198d456caaec1\n11.\thttps://harpa.ai/library/instagram-data-extraction-v1/672b93f030c666cf8e87b16f\n12.\thttps://harpa.ai/library/instagram-like-machine-v21/672b8c6b30c666cf8e86f89b\n13.\thttps://harpa.ai/library/ai-psychotherapist-v-14/674495359bcfff35d140ff73\n14.\thttps://harpa.ai/library/lecture-note-style-summary-v2/672e3c5f2a8a03fd59c507d5\n15.\thttps://harpa.ai/library/movie-finder-expert-v1/6731d84999f6d93688c2b209\n16.\thttps://harpa.ai/library/eeat-web-page-analysis-v3/672e45282a8a03fd59c5cd54\n17.\thttps://harpa.ai/library/you-tube-comments-extraction/6728a3fe22b006c16f7f757e\n18.\thttps://harpa.ai/library/simplify-%26-cook%3A-you-tube-video-recipes/675ad17277626e6e0b3e1cd5\n19.\thttps://harpa.ai/library/linked-in-profile-scraper/67658ecadd321dd19e95ef17\n20.\thttps://harpa.ai/library/seo-agent-v11/672e016e30c666cf8eb20ff3\n21.\thttps://harpa.ai/library/comprehensive-content-strategy/675bff4b77626e6e0b51b1ae\n22.\thttps://harpa.ai/library/instagram-followers-auto-follow-v13-%23instagram/6765569ddd321dd19e91f693\n23.\thttps://harpa.ai/library/humanizer%3A-anti-ai-detection-tool-v3/675af31a77626e6e0b40d277\n24.\thttps://harpa.ai/library/reddit-thread-extraction/6728a3fe22b006c16f7f7581\n25.\thttps://harpa.ai/library/facebook-post--%26-comments-extraction/6728a3fe22b006c16f7f757f\n26.\thttps://harpa.ai/library/key-decision-making-factors-(kdmf)---by-erik-nielsen/672e431f2a8a03fd59c59e7e\n27.\thttps://harpa.ai/library/whats-app-messages-extraction/6728a3fe22b006c16f7f7582\n28.\thttps://harpa.ai/library/discord-chat-extraction/6728a3fe22b006c16f7f7583\n29.\thttps://harpa.ai/library/email-writer%3A-gmail%2C-proton-mail%2C-outlook%2C-fast-mail/675b37ae77626e6e0b469fda\n30.\thttps://harpa.ai/library/you-tube-comment-agent-v12/672b8cd530c666cf8e87022c\n31.\thttps://harpa.ai/library/instagram-auto-follow-or-unfollow-v11/67642b6fdd321dd19e80a4d3\n32.\thttps://harpa.ai/library/clickbait-title/6590902c2d7a212eb95027dc\n33.\thttps://harpa.ai/library/visual-analogies-for-code/662a04705eb998fdb29d939f\n34.\thttps://harpa.ai/library/convert-page-to-json/674588359bcfff35d15207ad\n35.\thttps://harpa.ai/library/critics-review/674065543e94ae9ae9020433\n36.\thttps://harpa.ai/library/bug-report-with-proper-format/66f7c38fe8f4af56a38a5c4d\n37.\thttps://harpa.ai/library/software-design-workflow-%233/676ee922e1e198d456adb36a\n38.\thttps://harpa.ai/library/custom-deep-research-bot-%7C-v10/677b637603f75a52e51f80c1\n39.\thttps://harpa.ai/library/summary---chung/66382ccb3015dcde10392a40\n40.\thttps://harpa.ai/library/email-to-x-post/672f1323fcb141785d5695ba\n41.\thttps://harpa.ai/library/community\n42.\thttps://harpa.ai/library/community?page=2\n43.\thttps://harpa.ai/library/community?page=2\n44.\thttps://harpa.ai/\n45.\thttps://harpa.ai/cases\n## Popular Community Commands\n1.\thttps://harpa.ai/library\n2.\thttps://harpa.ai/grid\n3.\thttps://harpa.ai/chatml/overview\n4.\thttps://harpa.ai/library\n5.\thttps://harpa.ai/library/pareto-principle-(80%2F20-rule)-summarizer/672e3fa62a8a03fd59c551b4\n6.\thttps://harpa.ai/library/roast-my-profile/672e3d392a8a03fd59c51b72\n7.\thttps://harpa.ai/library/twitter-thread-extraction/6728a3fe22b006c16f7f7580\n8.\thttps://harpa.ai/library/you-tube-language-studying-v11/6751bff804c311a2fbd7661d\n9.\thttps://harpa.ai/library/proofreader-%26-editor/675b349177626e6e0b4660de\n10.\thttps://harpa.ai/library/linked-in-group-members-export/6770460ce1e198d456caaec1\n11.\thttps://harpa.ai/library/instagram-data-extraction-v1/672b93f030c666cf8e87b16f\n12.\thttps://harpa.ai/library/instagram-like-machine-v21/672b8c6b30c666cf8e86f89b\n13.\thttps://harpa.ai/library/ai-psychotherapist-v-14/674495359bcfff35d140ff73\n14.\thttps://harpa.ai/library/lecture-note-style-summary-v2/672e3c5f2a8a03fd59c507d5\n15.\thttps://harpa.ai/library/movie-finder-expert-v1/6731d84999f6d93688c2b209\n16.\thttps://harpa.ai/library/eeat-web-page-analysis-v3/672e45282a8a03fd59c5cd54\n17.\thttps://harpa.ai/library/you-tube-comments-extraction/6728a3fe22b006c16f7f757e\n18.\thttps://harpa.ai/library/simplify-%26-cook%3A-you-tube-video-recipes/675ad17277626e6e0b3e1cd5\n19.\thttps://harpa.ai/library/linked-in-profile-scraper/67658ecadd321dd19e95ef17\n20.\thttps://harpa.ai/library/seo-agent-v11/672e016e30c666cf8eb20ff3\n21.\thttps://harpa.ai/library/comprehensive-content-strategy/675bff4b77626e6e0b51b1ae\n22.\thttps://harpa.ai/library/instagram-followers-auto-follow-v13-%23instagram/6765569ddd321dd19e91f693\n23.\thttps://harpa.ai/library/humanizer%3A-anti-ai-detection-tool-v3/675af31a77626e6e0b40d277\n24.\thttps://harpa.ai/library/reddit-thread-extraction/6728a3fe22b006c16f7f7581\n25.\thttps://harpa.ai/library/facebook-post--%26-comments-extraction/6728a3fe22b006c16f7f757f\n26.\thttps://harpa.ai/library/key-decision-making-factors-(kdmf)---by-erik-nielsen/672e431f2a8a03fd59c59e7e\n27.\thttps://harpa.ai/library/whats-app-messages-extraction/6728a3fe22b006c16f7f7582\n28.\thttps://harpa.ai/library/discord-chat-extraction/6728a3fe22b006c16f7f7583\n29.\thttps://harpa.ai/library/email-writer%3A-gmail%2C-proton-mail%2C-outlook%2C-fast-mail/675b37ae77626e6e0b469fda\n30.\thttps://harpa.ai/library/you-tube-comment-agent-v12/672b8cd530c666cf8e87022c\n31.\thttps://harpa.ai/library/instagram-auto-follow-or-unfollow-v11/67642b6fdd321dd19e80a4d3\n32.\thttps://harpa.ai/library/clickbait-title/6590902c2d7a212eb95027dc\n33.\thttps://harpa.ai/library/visual-analogies-for-code/662a04705eb998fdb29d939f\n34.\thttps://harpa.ai/library/convert-page-to-json/674588359bcfff35d15207ad\n35.\thttps://harpa.ai/library/critics-review/674065543e94ae9ae9020433\n36.\thttps://harpa.ai/library/bug-report-with-proper-format/66f7c38fe8f4af56a38a5c4d\n37.\thttps://harpa.ai/library/software-design-workflow-%233/676ee922e1e198d456adb36a\n38.\thttps://harpa.ai/library/custom-deep-research-bot-%7C-v10/677b637603f75a52e51f80c1\n39.\thttps://harpa.ai/library/summary---chung/66382ccb3015dcde10392a40\n40.\thttps://harpa.ai/library/email-to-x-post/672f1323fcb141785d5695ba\n41.\thttps://harpa.ai/library/community\n42.\thttps://harpa.ai/library/community?page=2\n43.\thttps://harpa.ai/library/community?page=2\n44.\thttps://harpa.ai/\n45.\thttps://harpa.ai/cases\n## Harpa AI API Tutorials:\n1.\thttps://harpa.ai/library\n2.\thttps://harpa.ai/grid\n3.\thttps://harpa.ai/chatml/overview\n4.\thttps://harpa.ai/grid/web-automation\n5.\thttps://harpa.ai/grid/browser-automation-node-setup\n6.\thttps://harpa.ai/grid/grid-rest-api-reference\n7.\thttps://harpa.ai/grid/make-com-harpa-grid-setup-basics\n8.\thttps://harpa.ai/grid/module-run-ai-command\n9.\thttps://harpa.ai/grid/module-search-the-web\n10.\thttps://harpa.ai/grid/module-scrape-web-page\n11.\thttps://harpa.ai/grid/module-on-action-result\n12.\thttps://harpa.ai/grid/module-on-web-monitor\n13.\thttps://harpa.ai/grid/make-use-cases\n14.\thttps://harpa.ai/grid/linkedin-lead-generation-and-data-enrichment\n15.\thttps://harpa.ai/grid/lead-database-enrichment\n16.\thttps://harpa.ai/grid/web-search-and-scraping\n17.\thttps://harpa.ai/grid/data-protection-security\n18.\thttps://harpa.ai/grid/grid-rest-api-reference\n19.\thttps://harpa.ai/grid/browser-automation-node-setup\n20.\thttps://harpa.ai/grid/web-automation#web-automation-use-cases\n21.\thttps://harpa.ai/grid/linkedin-lead-generation-and-data-enrichment\n22.\thttps://harpa.ai/grid/lead-database-enrichment\n23.\thttps://harpa.ai/grid/module-on-webpage-monitor\n24.\thttps://harpa.ai/grid/web-search-and-scraping\n25.\thttps://harpa.ai/grid/web-automation#how-browser-automation-works?\n26.\thttps://get.harpa.ai/\n27.\thttps://harpa.ai/grid/browser-automation-node-setup\n28.\thttps://harpa.ai/grid/web-automation#benefits-of-browser-automation\n29.\thttps://harpa.ai/grid/web-automation#web-automation-requirements\n30.\thttps://harpa.ai/grid/web-automation#supported-ai-connections\n31.\thttps://harpa.ai/guides/using-flags\n32.\thttps://harpa.ai/grid/browser-automation-node-setup\n33.\thttps://harpa.ai/\n34.\thttps://harpa.ai/grid/browser-automation-node-setup\n35.\thttps://harpa.ai/\n36.\thttps://harpa.ai/cases\n## Harpa AI Guides:\n1.\thttps://harpa.ai/library\n2.\thttps://harpa.ai/grid\n3.\thttps://harpa.ai/guides\n4.\thttps://harpa.ai/chatml/overview\n5.\thttps://harpa.ai/guides/getting-started\n6.\thttps://harpa.ai/guides/chatgpt-web-session\n7.\thttps://harpa.ai/guides/cloud-gpt-connection\n8.\thttps://harpa.ai/guides/claude-ai-connection\n9.\thttps://harpa.ai/guides/how-to-get-an-openai-api-key\n10.\thttps://harpa.ai/guides/gpts-connection-in-harpa-ai\n11.\thttps://harpa.ai/guides/google-bard-connection\n12.\thttps://harpa.ai/guides/openrouter-connection-in-harpa-ai\n13.\thttps://harpa.ai/guides/connecting-harpa-ollama-local-llms\n14.\thttps://harpa.ai/guides/ai-vision-features\n15.\thttps://harpa.ai/guides/ai-answers-alongside-google-search\n16.\thttps://harpa.ai/guides/connecting-harpa-to-serpapi\n17.\thttps://harpa.ai/guides/connecting-harpa-to-perplexity\n18.\thttps://harpa.ai/guides/google-search-operators-harpa-ai\n19.\thttps://harpa.ai/guides/quick-access-bar\n20.\thttps://harpa.ai/guides/page-aware-chatgpt-prompts\n21.\thttps://harpa.ai/guides/finish-writing-from-your-draft-with-ai\n22.\thttps://harpa.ai/guides/manage-emails-with-chatgpt-and-harpa-ai\n23.\thttps://harpa.ai/guides/summarize-pages-and-youtube-videos-to-text\n24.\thttps://harpa.ai/guides/write-text-on-websites-with-ai\n25.\thttps://harpa.ai/guides/writing-styles\n26.\thttps://harpa.ai/guides/custom-page-aware-chatgpt-commands\n27.\thttps://harpa.ai/guides/chunking\n28.\thttps://harpa.ai/guides/function-calling\n29.\thttps://harpa.ai/guides/using-flags\n30.\thttps://harpa.ai/guides/page-parameter-page-crawler\n31.\thttps://harpa.ai/guides/automation-features\n32.\thttps://harpa.ai/guides/monitor-price-drops\n33.\thttps://harpa.ai/guides/track-competitors\n34.\thttps://harpa.ai/guides/autorefresh-web-pages\n35.\thttps://harpa.ai/guides/connecting-harpa-to-make-com\n36.\thttps://harpa.ai/guides/sending-command-results-to-make-com\n37.\thttps://harpa.ai/guides/harpa-premium-features\n38.\thttps://harpa.ai/guides/editing-pre-defined-commands\n39.\thttps://harpa.ai/guides/schedule-ai-commands\n40.\thttps://harpa.ai/guides/team-spaces\n41.\thttps://harpa.ai/guides/harpa-is-not-working\n42.\thttps://harpa.ai/guides/billing-issues\n43.\thttps://harpa.ai/guides/helpful-bug-reports\n44.\thttps://harpa.ai/guides/beta-builds\n45.\thttps://harpa.ai/guides/command-library\n46.\thttps://harpa.ai/guides\n47.\thttps://harpa.ai/guides/getting-started#welcome-to-harpa-ai\n48.\thttps://harpa.ai/guides/cloud-gpt-connection\n49.\thttps://harpa.ai/guides/how-to-get-an-openai-api-key\n50.\thttps://openrouter.ai/\n51.\thttps://harpa.ai/guides/chatgpt-web-session\n52.\thttps://harpa.ai/guides/getting-started#ai-chat\n53.\thttps://harpa.ai/guides/getting-started#vision-features\n54.\thttps://harpa.ai/guides/getting-started#account-&-chat-history\n55.\thttps://harpa.ai/guides/getting-started#automations\n56.\thttps://harpa.ai/guides/getting-started#settings\n57.\thttps://harpa.ai/guides/getting-started#use-cases\n58.\thttps://harpa.ai/guides/summarize-pages-and-youtube-videos-to-text\n59.\thttps://harpa.ai/guides/ai-answers-alongside-google-search\n60.\thttps://harpa.ai/guides/finish-writing-from-your-draft-with-ai\n61.\thttps://harpa.ai/guides/page-aware-chatgpt-prompts\n62.\thttps://harpa.ai/guides/quick-access-bar\n63.\thttps://harpa.ai/guides/write-text-on-websites-with-ai\n64.\thttps://harpa.ai/guides/monitor-price-drops\n65.\thttps://harpa.ai/guides/getting-started#how-to-use-commands\n66.\thttps://harpa.ai/guides/getting-started#custom-commands\n67.\thttps://harpa.ai/chatml/parameters\n68.\thttps://harpa.ai/chatml/overview\n69.\thttps://youtu.be/OT1nIWss2Po?si\n70.\thttps://harpa.ai/blog/youtube-video-to-blog-post\n71.\thttps://harpa.ai/guides/getting-started#browser-automation-&-monitoring\n72.\thttps://harpa.ai/guides/monitor-price-drops\n73.\thttps://harpa.ai/guides/autorefresh-web-pages\n74.\thttps://harpa.ai/guides/connecting-harpa-to-make-com\n75.\thttps://harpa.ai/guides/track-competitors\n76.\thttps://harpa.ai/guides/getting-started#links-for-further-reading\n77.\thttps://www.youtube.com/@HarpaAI\n78.\thttps://harpa.ai/guides/summarize-pages-and-youtube-videos-to-text\n79.\thttps://harpa.ai/guides/page-aware-chatgpt-prompts\n80.\thttps://harpa.ai/guides/ai-answers-alongside-google-search\n81.\thttps://harpa.ai/guides/quick-access-bar\n82.\thttps://harpa.ai/guides/manage-emails-with-chatgpt-and-harpa-ai\n83.\thttps://harpa.ai/guides/write-text-on-websites-with-ai\n84.\thttps://harpa.ai/guides/monitor-price-drops\n85.\thttps://harpa.ai/guides/track-competitors\n86.\thttps://harpa.ai/guides/autorefresh-web-pages\n87.\thttps://harpa.ai/guides/chatgpt-web-session\n88.\thttps://harpa.ai/cases\n89.\thttps://harpa.ai/guides\n## Harpa AI Step / Command Guides\n1.\thttps://harpa.ai/grid\n2.\thttps://harpa.ai/chatml/overview\n3.\thttps://harpa.ai/chatml/overview\n4.\thttps://harpa.ai/chatml/creating-custom-commands\n5.\thttps://harpa.ai/chatml/importing-custom-commands\n6.\thttps://harpa.ai/chatml/parameters\n7.\thttps://harpa.ai/chatml/automation-steps\n8.\thttps://harpa.ai/chatml/steps-say-ask-gpt\n9.\thttps://harpa.ai/chatml/steps-navigate\n10.\thttps://harpa.ai/chatml/steps-wait\n11.\thttps://harpa.ai/chatml/steps-click-paste-scroll\n12.\thttps://harpa.ai/chatml/steps-request\n13.\thttps://harpa.ai/chatml/steps-extract\n14.\thttps://harpa.ai/chatml/steps-group-loop-jump\n15.\thttps://harpa.ai/chatml/steps-run-js\n16.\thttps://harpa.ai/chatml/steps-command\n17.\thttps://harpa.ai/chatml/steps-clear-stop\n18.\thttps://harpa.ai/chatml/steps-calc\n19.\thttps://harpa.ai/chatml/conditions-and-jumps\n20.\thttps://harpa.ai/chatml/ai-element-selectors\n21.\thttps://harpa.ai/chatml/troubleshooting\n22.\thttps://harpa.ai/chatml/overview#overview\n23.\thttps://get.harpa.ai/\n24.\thttps://harpa.ai/chatml/overview#basic-building-blocks\n25.\thttps://harpa.ai/chatml/automation-steps\n26.\thttps://harpa.ai/chatml/parameters\n27.\thttps://harpa.ai/chatml/overview#what-is-chatml\n28.\thttps://harpa.ai/\n29.\thttps://harpa.ai/chatml/creating-custom-commands\n30.\thttps://harpa.ai/\n31.\thttps://harpa.ai/cases\n## Harpa AI Blogs & News\n1.\thttps://harpa.ai/grid\n2.\thttps://harpa.ai/chatml/overview\n3.\thttps://harpa.ai/blog\n4.\thttps://harpa.ai/blog/harpa-ai-promocode-discount-sale\n5.\thttps://harpa.ai/blog/harpa-changelog\n6.\thttps://harpa.ai/blog/how-to-use-harpa-ai\n7.\thttps://harpa.ai/blog/how-to-use-harpa-ai-for-free\n8.\thttps://harpa.ai/blog/how-to-upload-pdf-to-harpa-ai\n9.\thttps://harpa.ai/blog/how-to-change-harpa-ai-language-setting\n10.\thttps://harpa.ai/blog/chatgpt-as-copywriting-assistant\n11.\thttps://harpa.ai/blog/chatgpt-for-ecommerce\n12.\thttps://harpa.ai/blog/how-to-run-harpa-ai-on-android\n13.\thttps://harpa.ai/blog/how-to-use-chatgpt-sandbox-digital-playground\n14.\thttps://harpa.ai/blog/chatgpt-with-custom-instructions\n15.\thttps://harpa.ai/blog/outrank-article-with-chatgpt\n16.\thttps://harpa.ai/blog/ultimate-midjourney-prompts-guide\n17.\thttps://harpa.ai/blog/midjourney-templates\n18.\thttps://harpa.ai/blog/youtube-video-to-blog-post\n19.\thttps://harpa.ai/blog/chatgpt-ai-content-google-rankings-strategy\n20.\thttps://harpa.ai/blog/seo-competitor-analysis\n21.\thttps://harpa.ai/blog/niche-seo-mastery-drive-traffic-and-outrank-rivals\n22.\thttps://harpa.ai/blog/how-to-fix-chatgpt-too-many-requests-error\n23.\thttps://harpa.ai/blog/how-to-fix-chatgpt-is-at-capacity-error\n24.\thttps://harpa.ai/blog/how-to-fix-chatgpt-internal-server-error\n25.\thttps://harpa.ai/blog/how-to-fix-chatgpt-error-1020\n26.\thttps://harpa.ai/blog/how-to-fix-chatgpt-plugins-not-showing-up\n27.\thttps://harpa.ai/blog/how-to-remove-snapchat-my-ai-from-chat-feed\n28.\thttps://harpa.ai/blog/how-to-bypass-chatgpt-sms-verification\n29.\thttps://harpa.ai/blog/how-to-bypass-claude-ai-sms-verification\n30.\thttps://harpa.ai/blog/chatgpt-for-online-shopping\n31.\thttps://harpa.ai/blog/claude-ai-beyond-openai-chatgpt\n32.\thttps://harpa.ai/blog/saas-industry-key-statistics-2023\n33.\thttps://harpa.ai/blog/ai-movie-cast\n34.\thttps://harpa.ai/blog/elevenlabs-voice-ai-innovation\n35.\thttps://harpa.ai/blog/survey-chatgpt-in-digital-marketing\n36.\thttps://harpa.ai/\n37.\thttps://harpa.ai/cases"
    - type: gpt
      prompt: |-
        As an AI system, analyze the following query and URLs:

        Query:
        {{query}}

        Available URLs:
        {{information}}

        Think through this analysis:
        1. Understand all aspects of the query
        2. Find potential connections between URLs and query:
           - Direct thematic matches
           - Related concepts and topics
           - Contextual connections
           - Complementary information
           - Indirect relevance

        3. Evaluation:
           - Prioritize URLs with any possible relevance
           - Consider partially relevant URLs valuable
           - Account for different query interpretations

        4. Selection:
           - Choose 20 URLs with highest potential relevance
           - Favor diversity in perspective
           - Remove only exact duplicates
           - Put the links in hyperlink without no expection! The Format: [Possible name of the link](<LINK>)
           - NO MATTER what I said before, IF someone asks a question about RUN JS or coding, then prefer the URLs / Links from `## Commands By HARPA AI` as they contain many code examples

        Return only the final list of 20 URLs.
      label: CREATING RELEVANT URLS
      silent: false
      param: infoGPT
    - type: calc
      func: search.extract-sources
      from: infoGPT
      to: links
      format: ''
    - type: calc
      func: set
      param: total
      format: number
      value: '{{links.length}}'
    - steps:
        - label: TRYING TO FETCH
          type: calc
          func: set
          param: content
          format: ''
          value: '{{page {{item.url}}}}'
        - onFailure: FAILED COUNT
          type: js
          args: content
          code: |-
            const content = args['content']; 
            return { 
             chars: content.length, 
             estimatedTokens: Math.ceil(content.length / 4), 
             estimatedWords: Math.ceil(content.length / 4 * 0.75) 
            };
          param: count
          timeout: 15000
          label: COUNT
          silent: true
        - type: calc
          func: set
          param: pageUrl
          format: text
          value: '{{item.url}}'
          label: FAILED COUNT
        - type: js
          args: pageUrl
          code: |-
            const regex = /^(?:https?:\/\/)?(?:www\.)?([^\/]+)/;
            const testString = pageUrl;
            const matches = testString.match(regex);

            if (matches) {
              const hostname = matches[1];
              return hostname; 
            }
          param: hostname
          timeout: 15000
          silent: true
          label: HOSTNAME
        - type: calc
          func: increment
          param: index
          delta: 1
        - type: js
          args: index, total
          code: |-
            function calculatePercentage(index, total) {
                index = Number(index);
                total = Number(total);

                if (isNaN(index) || isNaN(total)) {
                    return "Error";
                }

                return (index / total * 100).toFixed(1) + "%";
            }

            let result = calculatePercentage(index, total);
            return result;
          param: percentage
          timeout: 15000
          silent: true
          label: PERCENTAGE INDEX TOTAL
        - steps:
            - type: gpt
              prompt: >-
                Act as a professional researcher. 


                Analyze the given [web page content] and summarize useful
                information to answer my query: "{{query}}"


                Instructions:

                - Imagine you are a Google Search engine, collecting relevant
                information from various websites to form an answer to my query
                in {{language}}.

                - Focus on providing detailed factual information, statistics,
                and specific examples when available.

                - Gather all information that will be useful in answering my
                question, including context, numbers, dates and concrete
                details.

                - Extract as much useful information as possible from the page
                content.

                - Avoid general phrases.

                - When referring to someone's opinion about something, mention
                the author. Quote if appropriate.

                - If you haven't found anything useful, don't make up
                information or guess - simply say "No relevant information
                found" in {{language}}.

                - Do not echo my prompt in your response.

                - Respond with a JSON object containing a single field: "info".

                - Write nothing other than the JSON.


                Example JSON response:


                {
                  "info": "Write here textual information that would help answer my query. Write as much as you think is necessary, focusing on providing useful information for further processing."
                }



                [Web page content]: {{content}}.



                JSON response:
              isolated: true
              param: data
              silent: true
            - type: calc
              func: extract-json
              to: data
              param: data
              index: first
            - type: calc
              func: set
              param: data.url
              format: auto
              value: '{{item.url}}'
            - type: calc
              func: set
              param: data.title
              format: auto
              value: '{{item.title}}'
            - type: calc
              func: list-add
              index: last
              list: array
              item: data
            - type: jump
              to: SAY STATUS
          condition: '{{content}} =~ ^[\s\S]{500,}$'
          type: group
          label: FETCHED
        - steps:
            - type: js
              args: item.url
              code: |-
                // Get URL from args parameter
                const url = args['item.url'];

                if (!url) {
                  return false;
                }

                const fullUrl = url.startsWith('http') ? url : 'https://' + url;

                window.location.href = fullUrl;
                return true;
              param: navigate.boolean
              timeout: 15000
              onFailure: ABORT NAVIGATE
              label: NAVIGATE
              silent: true
            - type: wait
              for: custom-delay
              silent: true
              label: ABORT NAVIGATE
              delay: '1500'
            - steps:
                - type: calc
                  func: set
                  param: setThread
                  format: ''
                  value: '{{thread}}'
                  label: SET CONTENT
                - type: js
                  args: setThread
                  code: |-
                    // For setThread
                    const text = args['setThread'];
                    const tokenCount = Math.ceil(text.length / 4);

                    return {
                      chars: text.length,
                      estimatedTokens: tokenCount,
                      estimatedWords: Math.ceil(tokenCount * 0.75)
                    };
                  param: count
                  timeout: 15000
                  onFailure: SOCIAL-MEDIA PROMPT
                  label: COUNT
                  silent: true
                - type: gpt
                  prompt: >-
                    Act as a professional researcher. 


                    Analyze the given [web page content] and summarize useful
                    information to answer my query: "{{query}}"


                    Instructions:

                    - Imagine you are a Google Search engine, collecting
                    relevant information from various websites to form an answer
                    to my query in {{language}}.

                    - Focus on providing detailed factual information,
                    statistics, and specific examples when available.

                    - Gather all information that will be useful in answering my
                    question, including context, numbers, dates and concrete
                    details.

                    - Extract as much useful information as possible from the
                    page content.

                    - Avoid general phrases.

                    - When referring to someone's opinion about something,
                    mention the author. Quote if appropriate.

                    - If you haven't found anything useful, don't make up
                    information or guess - simply say "No relevant information
                    found" in {{language}}.

                    - Do not echo my prompt in your response.

                    - Respond with a JSON object containing a single field:
                    "info".

                    - Write nothing other than the JSON.


                    Example JSON response:


                    {
                      "info": "Write here textual information that would help answer my query. Write as much as you think is necessary, focusing on providing useful information for further processing."
                    }



                    [Web page content]: {{setThread}}.



                    JSON response:
                  isolated: true
                  param: data
                  silent: true
                  label: SOCIAL-MEDIA PROMPT
              type: group
              condition: >-
                {{hostname}} =~
                ^(?:reddit|facebook|twitter|telegram|discord|whatsapp)\.com$
              label: SOCIAL-MEDIA
            - steps:
                - label: SET CONTENT
                  type: calc
                  func: set
                  param: setPageThread
                  format: ''
                  value: '{{page}} {{thread}}'
                - type: js
                  args: setPageThread
                  code: |-
                    // For setPageThread
                    const text = args['setPageThread'];
                    const tokenCount = Math.ceil(text.length / 4);

                    return {
                     chars: text.length,
                     estimatedTokens: tokenCount,
                     estimatedWords: Math.ceil(tokenCount * 0.75)
                    };
                  param: count
                  timeout: 15000
                  onFailure: NOT-SOCIAL-MEDIA PROMPT
                  silent: true
                  label: COUNT
                - type: gpt
                  prompt: >-
                    Act as a professional researcher. 


                    Analyze the given [web page content] and summarize useful
                    information to answer my query: "{{query}}"


                    Instructions:

                    - Imagine you are a Google Search engine, collecting
                    relevant information from various websites to form an answer
                    to my query in {{language}}.

                    - Focus on providing detailed factual information,
                    statistics, and specific examples when available.

                    - Gather all information that will be useful in answering my
                    question, including context, numbers, dates and concrete
                    details.

                    - Extract as much useful information as possible from the
                    page content.

                    - Avoid general phrases.

                    - When referring to someone's opinion about something,
                    mention the author. Quote if appropriate.

                    - If you haven't found anything useful, don't make up
                    information or guess - simply say "No relevant information
                    found" in {{language}}.

                    - Do not echo my prompt in your response.

                    - Respond with a JSON object containing a single field:
                    "info".

                    - Write nothing other than the JSON.


                    Example JSON response:


                    {
                      "info": "Write here textual information that would help answer my query. Write as much as you think is necessary, focusing on providing useful information for further processing."
                    }



                    [Web page content]: {{setPageThread}}.



                    JSON response:
                  isolated: true
                  param: data
                  silent: true
                  label: NOT-SOCIAL-MEDIA PROMPT
              type: group
              label: NOT-SOCIAL-MEDIA
              condition: >-
                {{hostname}} =~
                ^(?!(?:reddit|facebook|twitter|telegram|discord|whatsapp)\.com)[a-zA-Z0-9-]+\.[a-zA-Z]+$
            - type: calc
              func: extract-json
              to: data
              param: data
              index: first
            - type: calc
              func: set
              param: data.url
              format: auto
              value: '{{item.url}}'
            - type: calc
              func: set
              param: data.title
              format: auto
              value: '{{item.title}}'
            - type: calc
              func: list-add
              index: last
              list: array
              item: data
          type: group
          label: NOT FETCHED
        - type: say
          message: |-
            ๐Ÿ” Analyzed **{{index}} / {{total}}**,  [{{hostname}}]({{pageUrl}})
            - Chars: {{count.chars}}
            - Estimated Tokens: {{count.estimatedTokens}}
            - Estimated Words: {{count.estimatedWords}}
          label: โ›”๏ธSAY STATUS
          condition: '{{index}} = {{total1}}'
        - type: say
          message: |-
            ๐Ÿ” Analyzed **{{percentage}}**,  [{{hostname}}]({{pageUrl}})
            - Chars: {{count.chars}}
            - Estimated Tokens: {{count.estimatedTokens}}
            - Estimated Words: {{count.estimatedWords}}
          label: SAY STATUS
          condition: '{{index}} != {{total}}'
        - type: js
          args: array
          code: |-
            const content = args['array'];
            const stringContent = JSON.stringify(content);

            return {
              chars: stringContent.length,
              estimatedTokens: Math.ceil(stringContent.length / 4),
              estimatedWords: Math.ceil(stringContent.length / 4 * 0.75)
            };
          param: arrayLength
          timeout: 15000
          onFailure: SAY STATUS
          label: ARRAY LENGTH
          silent: true
        - message: |-
            โœ… **{{percentage}}** pages scanned for "**{{query}}**". 

            Last checked page: [{{hostname}}]({{pageUrl}})
            - Chars: {{count.chars}}
            - Estimated Tokens: {{count.estimatedTokens}}
            - Estimated Words: {{count.estimatedWords}}
            - Array Token length: **{{arrayLength.estimatedTokens}}**
          type: say
          label: SAY STATUS
          condition: '{{index}} = {{total}}'
      type: loop
      list: links
  label: DEPTH = 1
  type: group
- prompt: >-
    Please ignore all previous instructions. I want you to only respond in
    {{language}}.


    You are a Research AI Agent.  


    I would like you create a comprehensive answer to [MY QUESTION], adhering to
    a specific format I provide:

    - Utilize [Information from the Web], provided below.

    - Extract as much useful information as possible from the web search results

    - Integrate insights from multiple web search sources, and ensure inclusion
    of relevant links in a markdown fully rendered format: [โžŠ](URL), [โž‹](URL)
    etc, to each bullet point.

    - Every URL should correspond to only one symbol: โžŠ โž‹ โžŒ โž โžŽ โž โž โž‘ โž’ โž“.

    - If multiple sources repeat the same information, describe it and cite all
    sources at once. 

    - If you know the answer, add your own knowledge to make it more complete.

    - Do not hallucinate facts or information.

    - Do not use any other tools.

    - Avoid general phrases and be more specific and detailed.


    Follow the [RESPONSE FORMAT]:


    ## Key takeaway:

    Provide a single, most important takeaway from the web search results in
    {{language}}.


    ## Detailed answer:

    Analyze and present detailed information that helps answer my question.
    There should be no limit in words or bullet points to the report. Ensure
    that all ideas, facts, and relevant information are concisely reported, and
    the answer is comprehensive. Incorporate the maximum number of source links
    within the text.



    [MY QUESTION]: {{userQuery}}



    [Information from the Web]:

    {{array}}



    [COMPREHENSIVE RESPONSE WITH SOURCE LINKS ([โžŠ](URL))]:
  type: gpt
  isolated: true
  param: gpt
  dumb: false
Notice: Please read before using

This automation command is created by a community member. HARPA AI team does not audit community commands.

Please review the command carefully and only install if you trust the creator.

Contact us
HomeUse CasesGuidesPrivacy PolicyTerms of Service
CAN WE STORE COOKIES?
Our website uses cookies for the purposes of accessibility and security. They also allow us to gather statistics in order to improve the website for you. More info: Privacy Policy