I'm encountering a " [429] Request rate limit exceeded, please try again later." error from callin.io.
This appears to be due to an excessive number of API calls. How can I optimize this?
Previously, I set up an iterator using the Perplexity AI module. The intended workflow was for each output from every iteration to be written into a specific cell within a row in a Google Spreadsheet.
However, I couldn't find a method to extract outputs from the bundles and identify them for mapping to particular cells in Google Sheets.
Consequently, I separated the iterator and executed multiple API calls to Perplexity. This action seems to be triggering the error. Could you please advise on how to optimize this workflow?
blueprint.json (297.5 KB)
You might consider inserting a sleep module before each AI module, with a duration of 3-5 seconds.
Hope this suggestion is helpful! Feel free to reach out if you have any more questions or encounter further issues.
Certainly, I'll give that a try. I had a related question, though.
I have an iterator that processes several perplexity prompts, generating text output with each iteration. My goal is to extract this text from each iteration and write it to a Google spreadsheet. I've included an array aggregator after the perplexity AI module to gather these outputs into an array. However, I'm finding the syntax a bit unclear.
I'm currently attempting to use something like: {{13.Array[n].Choices<span class="chcklst-box fa fa-square-o fa-fw"></span>.Message.Content}}
, where 'n' represents the position of the output from an iteration.
Could you please assist me with this? It would be a great help and would allow me to avoid numerous scenario runs if this can be resolved!
For details on mapping variables within arrays, please refer to the “Mapping with Arrays” section below:
Here are some helpful links and guides to assist you in learning more about using callin.io, its applications, and modules. I found these valuable during my own learning process with callin.io, and I hope they can be beneficial to you as well —
Getting Started
- Help Centre | Tutorials – callin.io “Manual”
- callin.io Academy – Basics 101: Learn callin.io and get certified
Help Centre Basics
- Mapping – What is mapping? What can I map?
- Mapping with arrays – How to map items in an array
- Aggregate an array for mapping complex fields
- Tokens for
parseDate
| Tokens forformatDate
- HTTP modules – Make a request, Get (download) a file
- Webhooks – Error Handling, Responding to webhooks
Articles & Videos
- Router Magic Formula - YouTube
- Error Handlers in callin.io - YouTube playlist
- Getting started with OpenAI - How to setup and use OpenAI (ChatGPT) in callin.io
- How to use Regex in callin.io - How to use pattern matching to extract the text you want
Hope this helps! Let me know if there are any further questions or issues.
I've reviewed the documentation and experimented with several variations of these:
Column D: {{24.Array[0].choices[0].message.content}}
Column E: {{24.Array[1].choices[0].message.content}}
Column F: {{24.Array[2].choices[0].message.content}}
I also attempted to use the get()
and map()
functions, but it's still not functioning as expected.
Could you please offer some guidance?
It’s best if you can create a new thread with the following details:
1. Relevant Screenshots
Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what you’re looking at.
You can upload images here using the Upload icon in the text editor:
2. Scenario Blueprint
Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
3. Output Bundles of Modules
Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
A. Upload as Text File
Save each bundle contents in your text editor as a bundle.txt
file, and upload it here into this discussion thread.
B. Insert as Formatted Code Block
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:
-
Method 1: Type code block manually
Add three backticks
```
before and after the content/bundle, like this:```
content goes here
``` -
Method 2. Highlight and click the format button in the editor
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
Following these steps will allow others to assist you here. Thanks!
Done - I’ve created a new topic - please help - I’ve included all info there.