kapa.ai
10/23/2023, 2:06 PMvariables.after in the JSON payload, you should set "Inject into" to request_body and "Key name" to variables.after. Here is an example of how you might configure this: yaml pagination_strategy: type: "CursorPagination" cursor_value: "{{ last_records[-1]['id'] }}" page_token_option: type: "RequestPath" field_name: "variables.after" inject_into: "request_body" In this example, the cursor_value is set to the ID of the last record fetched (last_records[-1]['id']). The field_name is set to variables.after, which is where you want to inject the cursor value in the JSON payload. The inject_into field is set to request_body, indicating that the cursor value should be injected into the body of the HTTP request. Please note that this is a general example and you might need to adjust it based on your specific API and pagination requirements. For more information, you can refer to the [Airbyte documentation on pagination](https://docs.airbyte.com/connector-development/connector-builder-ui/pagination/).Filipe Mestre
10/23/2023, 2:08 PM